mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
Merge pull request #2267 from tomislav/sabnzbd-suite-removedebug
SABnzbd-Suite: remove debugging code
This commit is contained in:
commit
dc0d62de0c
@ -118,10 +118,8 @@ while (not xbmc.abortRequested):
|
|||||||
# reset idle timer if queue is downloading/reparing/verifying/extracting
|
# reset idle timer if queue is downloading/reparing/verifying/extracting
|
||||||
if sabIsActive:
|
if sabIsActive:
|
||||||
xbmc.executebuiltin('InhibitIdleShutdown(true)')
|
xbmc.executebuiltin('InhibitIdleShutdown(true)')
|
||||||
xbmc.log('preventing sleep')
|
|
||||||
else:
|
else:
|
||||||
xbmc.executebuiltin('InhibitIdleShutdown(false)')
|
xbmc.executebuiltin('InhibitIdleShutdown(false)')
|
||||||
xbmc.log('not preventing sleep')
|
|
||||||
|
|
||||||
# calculate and set the time to wake up at (if any)
|
# calculate and set the time to wake up at (if any)
|
||||||
if wakePeriodically:
|
if wakePeriodically:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user