From e4352743293b24112cfaaf875648b5a46d4104a6 Mon Sep 17 00:00:00 2001 From: shortcutme Date: Tue, 27 Nov 2018 11:29:55 +0100 Subject: [PATCH] Convert win-style path to unix-style path for log and data dir --- src/Config.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Config.py b/src/Config.py index 4b722541..667c065d 100644 --- a/src/Config.py +++ b/src/Config.py @@ -363,6 +363,9 @@ class Config(object): self.parseCommandline(argv, silent) # Parse argv self.setAttributes() + self.data_dir = self.data_dir.replace("\\", "/") + self.log_dir = self.data_dir.replace("\\", "/") + if not silent: if self.fileserver_ip != "*" and self.fileserver_ip not in self.ip_local: self.ip_local.append(self.fileserver_ip)