more robust timer sanity check / autoincrement handling, small code cleanup
[enigma2.git] / lib / python / Screens / TimerEdit.py
index bf60496fbe5399652e89ecc1b03c01521c9b81b5..572f14b5536fe6c97e2962682ba9d05a58a81847 100644 (file)
@@ -88,7 +88,9 @@ class TimerEditList(Screen):
                                if not timersanitycheck.check():
                                        t.disable()
                                        print "Sanity check failed"
-                                       self.session.openWithCallback(self.finishedEdit, TimerSanityConflict, timersanitycheck.getSimulTimerList())
+                                       simulTimerList = timersanitycheck.getSimulTimerList()
+                                       if simulTimerList is not None:
+                                               self.session.openWithCallback(self.finishedEdit, TimerSanityConflict, simulTimerList)
                                else:
                                        print "Sanity check passed"
                                        if timersanitycheck.doubleCheck():