Apply fixes for Python 2 only is sys.frozen is True
This commit is contained in:
parent
ab8b5f268d
commit
c27485bb75
@ -2,6 +2,7 @@
|
|||||||
from __future__ import unicode_literals # at top of module
|
from __future__ import unicode_literals # at top of module
|
||||||
import sys
|
import sys
|
||||||
if sys.version[0] == "2":
|
if sys.version[0] == "2":
|
||||||
|
if hasattr(sys, "frozen"):
|
||||||
import fixes
|
import fixes
|
||||||
fixes.setup()
|
fixes.setup()
|
||||||
import i18n
|
import i18n
|
||||||
|
Loading…
Reference in New Issue
Block a user