def pause_check():
 global __PAUSE_END
 if ((__PAUSE_END is not None) and ((__PAUSE_END - time.time()) < 0)):
  __PAUSE_END = None
  logging.debug('Force resume, negative timer')
  sabnzbd.unpause_all()

def pause_check ( ) : global __PAUSE_END if ( ( __PAUSE_END is not None ) and ( ( __PAUSE_END - time . time ( ) ) < 0 ) ) : __PAUSE_END = None logging . debug ( 'Force resume, negative timer' ) sabnzbd . unpause_all ( )
unpause when time left is negative .