Преглед изворни кода

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

erpalma пре 5 година
родитељ
комит
e897f95385
1 измењених фајлова са 1 додато и 0 уклоњено
  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()