summaryrefslogtreecommitdiff
path: root/koopatlas.py
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2011-12-30 04:23:40 -0600
committerColin Noga <Tempus@chronometry.ca>2011-12-30 04:23:40 -0600
commit5adfa5973564bec0638d661339240c1df61f41d5 (patch)
tree95ad534ae8b4a971a433c36d18fad644f6598693 /koopatlas.py
parent4fe38d93d44a0ed6e002f5ae319c88e4efb5678f (diff)
downloadkoopatlas-5adfa5973564bec0638d661339240c1df61f41d5.tar.gz
koopatlas-5adfa5973564bec0638d661339240c1df61f41d5.zip
Tried for a windows build, failed. Added some icons.
Diffstat (limited to '')
-rwxr-xr-xkoopatlas.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/koopatlas.py b/koopatlas.py
index 423df0a..b08f8b5 100755
--- a/koopatlas.py
+++ b/koopatlas.py
@@ -5,7 +5,13 @@
# Started 2nd November 2011
import os.path, sys
-sys.path.append(os.path.join(os.path.dirname(__file__), 'src'))
+
+if hasattr(sys, 'frozen'):
+ sys.path.append(os.path.join(os.path.dirname(sys.executable), 'src'))
+else:
+ sys.path.append(os.path.join(os.path.dirname(__file__), 'src'))
+
+
from common import *