From e7dc62ef0fd075022d01bcd87af923f5df7a7dd9 Mon Sep 17 00:00:00 2001 From: Sudipto Chandra Date: Thu, 8 Sep 2022 22:30:32 +0400 Subject: [PATCH] Prable fix for types --- lncrawl/core/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lncrawl/core/__init__.py b/lncrawl/core/__init__.py index 3e52f4642..c35d038f3 100644 --- a/lncrawl/core/__init__.py +++ b/lncrawl/core/__init__.py @@ -102,7 +102,9 @@ def start_app(): if getattr(sys, 'frozen', False) and hasattr(sys, '_MEIPASS') and not args.close_directly: try: input('Press ENTER to exit...') - except KeyboardInterrupt | EOFError: + except KeyboardInterrupt: + pass + except EOFError: pass # end try # end if