mirror of https://github.com/MISP/mail_to_misp
fix: Last commit was wrong
parent
198810105a
commit
27d4f4555b
|
@ -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():
|
||||
|
|
Loading…
Reference in New Issue