Fix pokered_dir extrapolation

Without "os.path.abspath" the result was an empty string. Now the
absolute path is correctly calculated.
This commit is contained in:
sawakita 2012-10-01 18:41:16 +02:00
parent c61f7eb5ee
commit cbb722d09b

View file

@ -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__)))