From 882c414e684fb7468f8fccbd783150b46129cb23 Mon Sep 17 00:00:00 2001 From: mailchuck Date: Tue, 29 Dec 2015 16:36:14 +0100 Subject: [PATCH] UPnP status bar update fix --- src/upnp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/upnp.py b/src/upnp.py index 021695cb..c166e40e 100644 --- a/src/upnp.py +++ b/src/upnp.py @@ -208,7 +208,7 @@ class uPnPThread(threading.Thread, StoppableThread): logger.debug("Found UPnP router at %s", ip) self.routers.append(newRouter) self.createPortMapping(newRouter) - shared.UISignalQueue.put(('updateStatusBar', tr.translateText("MainWindow",'UPnP port mapping established on port {}').format(self.extPort))) + shared.UISignalQueue.put(('updateStatusBar', tr.translateText("MainWindow",'UPnP port mapping established on port %1').arg(str(self.extPort)))) break except socket.timeout as e: pass