Apply fixes for Python 2 only is sys.frozen is True

This commit is contained in:
Manuel Cortez 2018-03-12 09:28:21 -06:00
parent ab8b5f268d
commit c27485bb75

View File

@ -2,8 +2,9 @@
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":
import fixes if hasattr(sys, "frozen"):
fixes.setup() import fixes
fixes.setup()
import i18n import i18n
i18n.setup() i18n.setup()
import widgetUtils import widgetUtils