summaryrefslogtreecommitdiffstats
path: root/module/XMLConfigParser.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-03-31 14:27:31 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-03-31 14:27:31 +0200
commit53865e7411fa0528093cbfa5f4ba7591e71f2ef8 (patch)
tree11f463c460755c96700e0feba5e68e31052c9195 /module/XMLConfigParser.py
parentfreespace for windows (diff)
downloadpyload-53865e7411fa0528093cbfa5f4ba7591e71f2ef8.tar.xz
parser fix
Diffstat (limited to 'module/XMLConfigParser.py')
-rw-r--r--module/XMLConfigParser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/XMLConfigParser.py b/module/XMLConfigParser.py
index 87b863d28..50214c49a 100644
--- a/module/XMLConfigParser.py
+++ b/module/XMLConfigParser.py
@@ -42,7 +42,7 @@ class XMLConfigParser():
file = self.file
if self.forceDefault:
file = self.file_default
- if not exists(self.file) or self.forceDefault:
+ if not exists(self.file):
self._copyConfig()
with open(file, 'r') as fh:
self.xml = parse(fh)