From e74f9833a13efb4bc476684beed0c2cb6b2bc077 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Wed, 11 Sep 2013 10:53:49 -0500 Subject: 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. --- redtools/pokered_dir.py | 6 ++++-- 1 file 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() -- cgit v1.2.3