diff options
author | sawakita <sawakitanoodles@gmail.com> | 2012-10-01 18:41:16 +0200 |
---|---|---|
committer | sawakita <sawakitanoodles@gmail.com> | 2012-10-01 18:41:16 +0200 |
commit | cbb722d09b986cee7272db166010d44f0aeecb96 (patch) | |
tree | 45c243db3906c5b3dea9acb344bc44cf9e8b9895 /extras | |
parent | c61f7eb5eee66a8ef998d9343cd7ec55c2f12e43 (diff) |
Fix pokered_dir extrapolation
Without "os.path.abspath" the result was an empty string. Now the
absolute path is correctly calculated.
Diffstat (limited to 'extras')
-rw-r--r-- | extras/pokered_dir.py | 2 |
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__))) |