mirror of
https://github.com/pret/pokeyellow.git
synced 2026-08-20 17:34:20 -05: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:
@@ -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__)))
|
||||
|
||||
Reference in New Issue
Block a user