Fix bug for new installations
This commit is contained in:
1 parent
6adb75f821
commit
292db57c97
1 file changed
+1
-1
@@ -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