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:
parent
0f26848b16
commit
3c8da4934a
1
pylink
1
pylink
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user