mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00

Without "os.path.abspath" the result was an empty string. Now the absolute path is correctly calculated.
5 lines
135 B
Python
5 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__)))
|