From eed6ec66954122f954da955b1e0f9fcf654614e9 Mon Sep 17 00:00:00 2001 From: smbaker Date: Wed, 29 Jun 2011 15:48:40 -0700 Subject: [PATCH] only popup XmlRpcTracker if there is xml to show --- sface/xmlrpcwindow.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sface/xmlrpcwindow.py b/sface/xmlrpcwindow.py index a7be214..a368a77 100644 --- a/sface/xmlrpcwindow.py +++ b/sface/xmlrpcwindow.py @@ -10,7 +10,9 @@ class XmlrpcTracker(): self.store(rawOutput) self.extractXml() self.xmlrpcWindow.setData(self.xml) - self.showXmlrpc() + if self.xml != "": + # only popup the window if we have something to show + self.showXmlrpc() def showXmlrpc(self): self.xmlrpcWindow.show() -- 2.43.0