Let ruff autofix some things from the newest version

This commit is contained in:
Trenton H
2023-06-13 10:55:52 -07:00
parent 71e4be2d5e
commit 70f3f98363
7 changed files with 16 additions and 16 deletions

View File

@@ -116,7 +116,7 @@ def consume_file(
{"type": "status_update", "data": payload},
)
except ConnectionError as e:
logger.warning(f"ConnectionError on status send: {str(e)}")
logger.warning(f"ConnectionError on status send: {e!s}")
# consuming stops here, since the original document with
# the barcodes has been split and will be consumed separately