Attached Files
Edited by kocus37, 2 February 2013 - 18:58.
Posted 2 February 2013 - 18:55
Edited by kocus37, 2 February 2013 - 18:58.
OpenPli 4.0 - Vu+Solo2 - 30W Hispasat
Posted 2 February 2013 - 19:46
Traceback (most recent call last): File "/usr/lib/enigma2/python/Screens/ChannelSelection.py", line 401, in updateEventInfo File "/usr/lib/enigma2/python/Components/Sources/ServiceEvent.py", line 31, in newService File "/usr/lib/enigma2/python/Components/Element.py", line 86, in changed File "/usr/lib/enigma2/python/Tools/CList.py", line 7, in __call__ File "/usr/lib/enigma2/python/Components/Converter/ServiceName.py", line 51, in changed File "/usr/lib/enigma2/python/Components/Element.py", line 86, in changed File "/usr/lib/enigma2/python/Tools/CList.py", line 7, in __call__ File "/usr/lib/enigma2/python/Components/Renderer/Label.py", line 21, in changed File "/usr/lib/enigma2/python/Components/Element.py", line 15, in wrapper File "/usr/lib/enigma2/python/Components/Converter/ServiceName.py", line 35, in getText TypeError: iStaticServiceInformationPtr_getName expected 2 arguments, got 1issue to littlesat
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
Posted 2 February 2013 - 23:40
Edited by ims, 2 February 2013 - 23:58.
Posted 3 February 2013 - 02:29
if XXX is None:to
if not xxx:and it is not same.
a = "" b = None if not a: print "AAA" if a is None: print "BBB" if not b: print "CCC" if b is None: print "DDD"then output is:
AAA CCC DDD
Edited by ims, 3 February 2013 - 02:30.
Posted 3 February 2013 - 10:41
@cached def getText(self): service = self.source.service if isinstance(service, iPlayableServicePtr): info = service and service.info() ref = None else: # reference info = service and self.source.info ref = service if not info: return "" if self.type == self.NAME: if ref: name = ref and info.getName(ref) else: name = info.getName() return name.replace('\xc2\x86', '').replace('\xc2\x87', '')
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
0 members, 1 guests, 0 anonymous users