Convert win-style path to unix-style path for log and data dir
This commit is contained in:
parent
55380298f1
commit
e435274329
1 changed files with 3 additions and 0 deletions
|
@ -363,6 +363,9 @@ class Config(object):
|
||||||
self.parseCommandline(argv, silent) # Parse argv
|
self.parseCommandline(argv, silent) # Parse argv
|
||||||
self.setAttributes()
|
self.setAttributes()
|
||||||
|
|
||||||
|
self.data_dir = self.data_dir.replace("\\", "/")
|
||||||
|
self.log_dir = self.data_dir.replace("\\", "/")
|
||||||
|
|
||||||
if not silent:
|
if not silent:
|
||||||
if self.fileserver_ip != "*" and self.fileserver_ip not in self.ip_local:
|
if self.fileserver_ip != "*" and self.fileserver_ip not in self.ip_local:
|
||||||
self.ip_local.append(self.fileserver_ip)
|
self.ip_local.append(self.fileserver_ip)
|
||||||
|
|
Loading…
Reference in a new issue