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 import sys
from . import fix_requests from . import fix_requests
if hasattr(sys, "frozen"): #if hasattr(sys, "frozen"):
from . import fix_win32com from . import fix_win32com
from . import fix_libloader from . import fix_libloader
def setup(): def setup():
fix_requests.fix() fix_requests.fix()
if hasattr(sys, "frozen"): # if hasattr(sys, "frozen"):
fix_libloader.fix() fix_libloader.fix()
fix_win32com.fix() fix_win32com.fix()

View File

@ -3,8 +3,8 @@ import logger
import sys import sys
import fixes import fixes
import traceback import traceback
if hasattr(sys, "frozen"): #if hasattr(sys, "frozen"):
fixes.setup() fixes.setup()
import platform import platform
import languageHandler import languageHandler
import widgetUtils import widgetUtils