From 292db57c97725557750c9163eeff57c8993dc36f Mon Sep 17 00:00:00 2001 From: David Paleino Date: Thu, 8 Dec 2011 18:56:03 +0100 Subject: [PATCH] Fix bug for new installations --- wicd/configmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wicd/configmanager.py b/wicd/configmanager.py index 52fc0ca..1be3088 100644 --- a/wicd/configmanager.py +++ b/wicd/configmanager.py @@ -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)