Always apply fixes, not only when the application is frozen
This commit is contained in:
parent
7843090907
commit
f3318e0dd0
@ -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()
|
@ -3,7 +3,7 @@ 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
|
||||||
|
Loading…
Reference in New Issue
Block a user