1
0
mirror of https://github.com/gryf/wicd.git synced 2026-01-06 13:54:17 +01:00

Fix bug for new installations

This commit is contained in:
David Paleino
2011-12-08 18:56:03 +01:00
parent 6adb75f821
commit 292db57c97

View File

@@ -51,7 +51,7 @@ class ConfigManager(RawConfigParser):
self.config_file = path
self.debug = debug
self.mrk_ws = mark_whitespace
if path:
if os.path.exists(path):
sanitize_config_file(path)
try:
self.read(path)