mirror of https://code.videolan.org/videolan/vlc
breakpad/symb_upload.py: fix wrong variable name
This commit is contained in:
parent
ba81dd2f58
commit
2530667517
|
@ -212,7 +212,7 @@ def main():
|
|||
if args.log:
|
||||
numeric_level = getattr(logging, args.log.upper(), None)
|
||||
if not isinstance(numeric_level, int):
|
||||
raise ValueError("Invalid log level: {}".format(loglevel))
|
||||
raise ValueError("Invalid log level: {}".format(numeric_level))
|
||||
logging.basicConfig(format='%(levelname)s: %(message)s', level=numeric_level)
|
||||
|
||||
if args.platform == "win":
|
||||
|
|
Loading…
Reference in New Issue