fix logging check
This commit is contained in:
parent
c8f5803c83
commit
ff15dec1cc
4
main.py
4
main.py
@ -268,9 +268,9 @@ def main():
|
|||||||
parser.add_argument("replay", nargs="+", help="replay ID or URL")
|
parser.add_argument("replay", nargs="+", help="replay ID or URL")
|
||||||
|
|
||||||
args = parser.parse_args(sys.argv[1:])
|
args = parser.parse_args(sys.argv[1:])
|
||||||
if args.verbose > 1:
|
if args.verbose and args.verbose > 1:
|
||||||
LOG.setLevel(logging.TRACE)
|
LOG.setLevel(logging.TRACE)
|
||||||
elif args.verbose > 0:
|
elif args.verbose:
|
||||||
LOG.setLevel(logging.DEBUG)
|
LOG.setLevel(logging.DEBUG)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user