Fix the import path

This commit is contained in:
张文广 2017-08-31 11:45:47 +08:00 committed by GitHub
parent 8fdfba97d9
commit 11463dbba5
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ def main():
except Exception, log_err:
print "Failed to log error:", log_err
traceback.print_exc()
from Config import config
from src.Config import config
traceback.print_exc(file=open(config.log_dir + "/error.log", "a"))
if main and main.update_after_shutdown: # Updater