pokered/extras/pokered_dir.py
sawakita 723e424979 Make analyze_incbins dirs reference os-independent
This should fix a bug caused by comparing string literals to
directories. It should also be safer, using "os" module to access paths.
2012-09-30 20:10:13 +02:00

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__))