only popup XmlRpcTracker if there is xml to show
[sface.git] / sface / xmlrpcwindow.py
index a7be214..a368a77 100644 (file)
@@ -10,7 +10,9 @@ class XmlrpcTracker():
         self.store(rawOutput)
         self.extractXml()
         self.xmlrpcWindow.setData(self.xml)
-        self.showXmlrpc()
+        if self.xml != "<debug></debug>":
+            # only popup the window if we have something to show
+            self.showXmlrpc()
 
     def showXmlrpc(self):
         self.xmlrpcWindow.show()