From 27d4f4555bc351fe0db6f81d923187adf9e545b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Fri, 4 May 2018 17:43:00 +0200 Subject: [PATCH] fix: Last commit was wrong --- mail_to_misp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail_to_misp.py b/mail_to_misp.py index 74eba48..345a7d3 100755 --- a/mail_to_misp.py +++ b/mail_to_misp.py @@ -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():