Skip to content

Commit

Permalink
Churn the import order
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheeo committed Feb 22, 2016
1 parent d388010 commit 2055ebb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@
path = os.path.join(os.path.dirname(sys.argv[0]), "PyQt4.uic.widget-plugins")
uic.widgetPluginPath.append(path)

import config
import platform
import util

# Are we running from a frozen interpreter?
if getattr(sys, 'frozen', False):
os.chdir(os.path.dirname(sys.executable))
Expand All @@ -40,8 +36,12 @@
os.chdir(devRoot)
# We need to set the working directory correctly.

import util
util.COMMON_DIR = os.path.join(os.getcwd(), "res")

import config
import platform

# Set up crash reporting
excepthook_original = sys.excepthook

Expand Down

0 comments on commit 2055ebb

Please sign in to comment.