fix: Last commit was wrong

pull/38/head
Raphaël Vinot 2018-05-04 17:43:00 +02:00
parent 198810105a
commit 27d4f4555b
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ if __name__ == '__main__':
syslog.openlog(logoption=syslog.LOG_PID, facility=syslog.LOG_USER)
syslog.syslog("Job started.")
os.chdir(Path(__file__).cwd())
os.chdir(Path(__file__).parent)
configmodule = Path(__file__).name.replace('.py', '_config')
if Path(f'{configmodule}.py').exists():