Always apply fixes, not only when the application is frozen

This commit is contained in:
Manuel Cortez 2019-01-19 23:24:10 -06:00
parent 7843090907
commit f3318e0dd0
2 changed files with 8 additions and 8 deletions

View File

@ -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()
# if hasattr(sys, "frozen"):
fix_libloader.fix()
fix_win32com.fix()

View File

@ -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