Rev1758, Change working dir to zeronet.py dir

This commit is contained in:
shortcutme 2016-12-01 00:34:11 +01:00
parent e919a9bd43
commit c1fd2be8cf
2 changed files with 2 additions and 1 deletions

View file

@ -10,6 +10,7 @@ def main():
main = None
try:
os.chdir(os.path.dirname(__file__)) # Change working dir to zeronet.py dir
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "src/lib")) # External liblary directory
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "src")) # Imports relative to src
import main