fix logging check

This commit is contained in:
xeals 2023-03-28 00:12:25 +11:00
parent c8f5803c83
commit ff15dec1cc
Signed by: xeals
GPG Key ID: A498C7AF27EC6B5C

View File

@ -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: