Permalink
Browse files

[VPS] fix possible BSOD.

  • Loading branch information...
1 parent 6588f90 commit 53de8faf6383a21d36e86e0b011c9da9d47d2343 @andyblac andyblac committed Jul 1, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 vps/src_py/Vps.py
View
@@ -10,6 +10,7 @@
from RecordTimer import RecordTimerEntry, parseEvent, AFTEREVENT
from ServiceReference import ServiceReference
from Components.TimerSanityCheck import TimerSanityCheck
+from Tools.StbHardware import getFPWasTimerWakeup
import Screens.Standby
import NavigationInstance
@@ -590,7 +591,7 @@ def shutdown(self):
o_timer.stop_simulation()
def checkNextAfterEventAuto(self):
- if NavigationInstance.instance.getFPWasTimerWakeup() and config.plugins.vps.allow_wakeup.value and len(self.session.nav.RecordTimer.timer_list) > 0:
+ if getFPWasTimerWakeup() and config.plugins.vps.allow_wakeup.value and len(self.session.nav.RecordTimer.timer_list) > 0:
next_timer = self.session.nav.RecordTimer.timer_list[0]
if next_timer.vpsplugin_enabled and next_timer.afterEvent == AFTEREVENT.AUTO and (next_timer.begin - (config.plugins.vps.initial_time.value * 60) - 300) < time():
next_timer.vpsplugin_wasTimerWakeup = True

0 comments on commit 53de8fa

Please sign in to comment.