mirror of
https://github.com/pret/pokered.git
synced 2024-10-23 15:08:23 +00:00
cbb722d09b
Without "os.path.abspath" the result was an empty string. Now the absolute path is correctly calculated.
4 lines
135 B
Python
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__)))
|