mirror of
https://github.com/pret/pokered.git
synced 2024-10-23 15:08:23 +00:00
723e424979
This should fix a bug caused by comparing string literals to directories. It should also be safer, using "os" module to access paths.
4 lines
118 B
Python
4 lines
118 B
Python
import os
|
|
|
|
#main dir of repo (simply one level up than here)
|
|
pokered_dir = os.path.dirname(os.path.dirname(__file__))
|