Explorar o código

add logging to indicate that throttled is disabled in config file (fix #173)

erpalma %!s(int64=5) %!d(string=hai) anos
pai
achega
e897f95385
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      lenovo_fix.py

+ 1 - 0
lenovo_fix.py

@@ -787,6 +787,7 @@ def main():
     regs = calc_reg_values(platform_info, config)
 
     if not config.getboolean('GENERAL', 'Enabled'):
+        log('[I] Throttled is disabled in config file... Quitting. :(')
         return
 
     exit_event = Event()