1
0
mirror of https://github.com/gryf/wicd.git synced 2026-04-28 17:54:07 +02:00

create wpath.networks at run time if it doesn't exist

This commit is contained in:
Adam Blackburn
2010-01-04 08:53:24 -10:00
parent 6a39650cdd
commit 5ad7b4dca6
+3
View File
@@ -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()