pokered/extras/pokered_dir.py
sawakita cbb722d09b Fix pokered_dir extrapolation
Without "os.path.abspath" the result was an empty string. Now the
absolute path is correctly calculated.
2012-10-01 18:41:16 +02:00

4 lines
135 B
Python

import os
#main dir of repo (simply one level up than here)
pokered_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))