3
0
mirror of https://github.com/jlu5/PyLink.git synced 2025-02-21 07:50:45 +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 import sys
# This must be done before conf imports, so we get the real conf instead of testing one. # 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 import world
world.testing = False world.testing = False