mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
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:
parent
c61f7eb5ee
commit
cbb722d09b
|
@ -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__)))
|
||||
|
|
Loading…
Reference in a new issue