From 775f36fdd185eec8d9096d3472b7730cf5ac9798 Mon Sep 17 00:00:00 2001 From: Grigoriev Semyon <33061489+grigoriev-semyon@users.noreply.github.com> Date: Thu, 16 Mar 2023 00:29:21 +0300 Subject: [PATCH] Dependencies (#36) --- print_service/utils/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/print_service/utils/__init__.py b/print_service/utils/__init__.py index 4bebd50..6331b96 100644 --- a/print_service/utils/__init__.py +++ b/print_service/utils/__init__.py @@ -76,5 +76,5 @@ def check_pdf_ok(f: bytes): try: PdfFileReader(io.BytesIO(f)) return True - except Exception as e: + except Exception: return False