summaryrefslogtreecommitdiffstats
path: root/pyLoadGui.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyLoadGui.py')
-rwxr-xr-xpyLoadGui.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pyLoadGui.py b/pyLoadGui.py
index d5fb02bc0..5e13dd080 100755
--- a/pyLoadGui.py
+++ b/pyLoadGui.py
@@ -135,7 +135,8 @@ class main(QObject):
"""
display a nice error box
"""
- QMessageBox(QMessageBox.Warning, "Error", msg)
+ msgb = QMessageBox(QMessageBox.Warning, "Error", msg)
+ msgb.exec_()
def initPackageCollector(self):
"""
@@ -326,7 +327,7 @@ class main(QObject):
data = self.connData
data["password"] = pw
if not data["type"] == "remote":
- coreparser = XMLParser("module/config/core.xml")
+ coreparser = XMLParser("module/config/core.xml", "module/config/core_default.xml")
sections = coreparser.parseNode(coreparser.root, "dict")
conf = coreparser.parseNode(sections["remote"], "dict")
ssl = coreparser.parseNode(sections["ssl"], "dict")