summaryrefslogtreecommitdiff
path: root/src/mapdata.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapdata.py')
-rw-r--r--src/mapdata.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mapdata.py b/src/mapdata.py
index 4bde9a6..2b7a403 100644
--- a/src/mapdata.py
+++ b/src/mapdata.py
@@ -126,7 +126,11 @@ class KPMap(object):
self.loadedTilesets = {}
# TESTING CRAP
- self.tilesets['Test'] = {'path': '/Users/Tempus/Dropbox/NEWERsmbw/Test2.arc'}
+ import os.path
+ if os.path.exists('/Users/Tempus'):
+ self.tilesets['Test'] = {'path': '/Users/Tempus/Dropbox/NEWERsmbw/Test2.arc'}
+ else:
+ self.tilesets['Test'] = {'path': '/home/me/Dropbox/NEWERsmbw/Test2.arc'}
self.reloadTileset('Test')