summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsawakita <sawakitanoodles@gmail.com>2012-10-01 18:41:16 +0200
committersawakita <sawakitanoodles@gmail.com>2012-10-01 18:41:16 +0200
commitcbb722d09b986cee7272db166010d44f0aeecb96 (patch)
tree45c243db3906c5b3dea9acb344bc44cf9e8b9895
parentc61f7eb5eee66a8ef998d9343cd7ec55c2f12e43 (diff)
Fix pokered_dir extrapolation
Without "os.path.abspath" the result was an empty string. Now the absolute path is correctly calculated.
-rw-r--r--extras/pokered_dir.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/pokered_dir.py b/extras/pokered_dir.py
index bfc02888..69137839 100644
--- a/extras/pokered_dir.py
+++ b/extras/pokered_dir.py
@@ -1,4 +1,4 @@
import os
#main dir of repo (simply one level up than here)
-pokered_dir = os.path.dirname(os.path.dirname(__file__))
+pokered_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))