From: kos Date: Mon, 10 Dec 2012 05:52:38 +0000 (+0900) Subject: [browser] fix bug. X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=2d38f881ad0c980623ffccf7fac82318d4764a40 [browser] fix bug. --- diff --git a/lib/python/Plugins/Extensions/HbbTV/plugin.py b/lib/python/Plugins/Extensions/HbbTV/plugin.py index ab36038..56db6d8 100644 --- a/lib/python/Plugins/Extensions/HbbTV/plugin.py +++ b/lib/python/Plugins/Extensions/HbbTV/plugin.py @@ -350,9 +350,12 @@ class StreamServer: class ServerFactory: def doListenUnixTCP(self, name, handler): def destroy(name): - if os.path.exists(name): - os.unlink(name) - print "Removed ", name + import os + try: + if os.path.exists(name): + os.unlink(name) + print "Removed ", name + except: pass destroy(name) params = SocketParams()