create wpath.networks at run time if it doesn't exist
This commit is contained in:
1 parent
6a39650cdd
commit
5ad7b4dca6
1 file changed
+3
@@ -1762,6 +1762,9 @@ def main(argv):
|
||||
|
||||
# quit, this should be the only option specified
|
||||
sys.exit(0)
|
||||
|
||||
if not os.path.exists(wpath.networks):
|
||||
os.makedirs(wpath.networks)
|
||||
|
||||
if do_daemonize: daemonize()
|
||||
|
||||
|
||||
Reference in new issue
Block a user