3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 01:09:22 +01:00

pylink: always chdir to the PyLink root directory

This commit is contained in:
James Lu 2015-09-19 11:55:22 -07:00
parent 0f26848b16
commit 3c8da4934a

1
pylink
View File

@ -5,6 +5,7 @@ import os
import sys
# This must be done before conf imports, so we get the real conf instead of testing one.
os.chdir(os.path.dirname(__file__))
import world
world.testing = False