mirror of
https://github.com/gryf/wicd.git
synced 2026-03-09 11:05:48 +01:00
Fix bug for new installations
This commit is contained in:
@@ -51,7 +51,7 @@ class ConfigManager(RawConfigParser):
|
|||||||
self.config_file = path
|
self.config_file = path
|
||||||
self.debug = debug
|
self.debug = debug
|
||||||
self.mrk_ws = mark_whitespace
|
self.mrk_ws = mark_whitespace
|
||||||
if path:
|
if os.path.exists(path):
|
||||||
sanitize_config_file(path)
|
sanitize_config_file(path)
|
||||||
try:
|
try:
|
||||||
self.read(path)
|
self.read(path)
|
||||||
|
|||||||
Reference in New Issue
Block a user