Running a channel search in (First) Install Wizard crashes at checkTimeshiftRunning on non existing InfoBar, patch attached.
Posted 8 April 2013 - 06:53
def keyGo(self): infoBarInstance = InfoBar.instance - if infoBarInstance: + if infoBarInstance is not None: infoBarInstance.checkTimeshiftRunning(self.keyGoCheckTimeshiftCallback) else: self.keyGoCheckTimeshiftCallback(True) @@ -954,10 +954,10 @@ def keyGo(self): InfoBarInstance = InfoBar.instance - if InfoBarInstance: + if InfoBarInstance is not None: InfoBarInstance.checkTimeshiftRunning(self.keyGoCheckTimeshiftCallback) else: - InfoBarInstance.checkTimeshiftRunning(True) + self.keyGoCheckTimeshiftCallback(True) def keyGoCheckTimeshiftCallback(self, answer): if answer:
The mistake in the second part has already being changed... That was a "Typo" from me..
http://sourceforge.n...19d5d4edf194e4/
And adding the "is not None" make no difference... This is really not required added code...
When it is not None then simply it is already always True
(I know we see this still on different locations in Enigma2)...
Edited by littlesat, 8 April 2013 - 06:56.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 8 April 2013 - 23:51
Sorry, it was my fault (or sf?)
I did not know that there is a difference between
http://openpli.git.s...i/enigma2;a=log
and
http://sourceforge.n...penpli/enigma2/
gitweb still says [e30c97] is master.
Posted 9 April 2013 - 00:11
0 members, 1 guests, 0 anonymous users