Skip to content

flake8-test fails because of bare except #267

@patkan

Description

@patkan

I have:

  • searched open and closed issues for duplicates

Bug description

The flake8-test fails because line 700 in escpos.py uses a bare except. This should be fixed by catching only the relevant exception with exept. (You have to try first, which exception exactly occurs).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions