From f3318e0dd0a59d42a5bd079145b4dc8b50153c88 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Sat, 19 Jan 2019 23:24:10 -0600 Subject: [PATCH] Always apply fixes, not only when the application is frozen --- src/fixes/__init__.py | 12 ++++++------ src/main.py | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/fixes/__init__.py b/src/fixes/__init__.py index 336df6e..05d0851 100644 --- a/src/fixes/__init__.py +++ b/src/fixes/__init__.py @@ -3,12 +3,12 @@ from __future__ import unicode_literals import sys from . import fix_requests -if hasattr(sys, "frozen"): - from . import fix_win32com - from . import fix_libloader +#if hasattr(sys, "frozen"): +from . import fix_win32com +from . import fix_libloader def setup(): fix_requests.fix() - if hasattr(sys, "frozen"): - fix_libloader.fix() - fix_win32com.fix() \ No newline at end of file +# if hasattr(sys, "frozen"): + fix_libloader.fix() + fix_win32com.fix() \ No newline at end of file diff --git a/src/main.py b/src/main.py index 177f2f8..02007b1 100644 --- a/src/main.py +++ b/src/main.py @@ -3,8 +3,8 @@ import logger import sys import fixes import traceback -if hasattr(sys, "frozen"): - fixes.setup() +#if hasattr(sys, "frozen"): +fixes.setup() import platform import languageHandler import widgetUtils