From ff15dec1ccece35de50faabe091b0ae4eb3a0e6e Mon Sep 17 00:00:00 2001 From: xeals Date: Tue, 28 Mar 2023 00:12:25 +1100 Subject: [PATCH] fix logging check --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 4f5718a..c00f729 100755 --- a/main.py +++ b/main.py @@ -268,9 +268,9 @@ def main(): parser.add_argument("replay", nargs="+", help="replay ID or URL") args = parser.parse_args(sys.argv[1:]) - if args.verbose > 1: + if args.verbose and args.verbose > 1: LOG.setLevel(logging.TRACE) - elif args.verbose > 0: + elif args.verbose: LOG.setLevel(logging.DEBUG) try: