瀏覽代碼

Override config value for verbose if given as argument

Cammy 6 年之前
父節點
當前提交
d4e145b91e
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      pyinstalive/startup.py

+ 3 - 0
pyinstalive/startup.py

@@ -170,6 +170,9 @@ def validate_inputs(config, args, unknown_args):
         if args.noreplays:
         if args.noreplays:
             pil.dl_replays = False
             pil.dl_replays = False
 
 
+        if args.verbose:
+            pil.verbose = True
+
         if not pil.dl_lives and not pil.dl_replays:
         if not pil.dl_lives and not pil.dl_replays:
             logger.error("You have disabled both livestream and replay downloading.")
             logger.error("You have disabled both livestream and replay downloading.")
             logger.error("Please enable at least one of them and try again.")
             logger.error("Please enable at least one of them and try again.")