Convert win-style path to unix-style path for log and data dir

This commit is contained in:
shortcutme 2018-11-27 11:29:55 +01:00
parent 55380298f1
commit e435274329
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -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)