summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-09-11 10:53:49 -0500
committerBryan Bishop <kanzure@gmail.com>2013-09-11 10:53:49 -0500
commite74f9833a13efb4bc476684beed0c2cb6b2bc077 (patch)
treea7f68a17bcff3446f25d72d704159e3fcb05b145
parent50341bae50b4318800dcea5694e95b239ed8fbb0 (diff)
update pokered_dir.py to use cwd for path
This will be fixed when redtools is merged into the rest of the junk, but for now the path will just be the cwd. This is necessary for pokered gbz80disasm.
-rw-r--r--redtools/pokered_dir.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/redtools/pokered_dir.py b/redtools/pokered_dir.py
index 6913783..7d7056d 100644
--- a/redtools/pokered_dir.py
+++ b/redtools/pokered_dir.py
@@ -1,4 +1,6 @@
import os
-#main dir of repo (simply one level up than here)
-pokered_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
+# TODO: use actual configuration
+# Assume that the main pokered project dir is the current working directory
+# (cwd).
+pokered_dir = os.getcwd()