summaryrefslogtreecommitdiffstats
path: root/pyLoadGui.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2009-12-26 20:18:11 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2009-12-26 20:18:11 +0100
commit504b313112be6a82d6eee418ae059646ecfc4b30 (patch)
tree88a8ee96d788bd4b3fd7c97775e85787c3709e8a /pyLoadGui.py
parentclean shutdown (diff)
downloadpyload-504b313112be6a82d6eee418ae059646ecfc4b30.tar.xz
fixed ddl-music, cleaned up, new status (starting), some more fixes
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")