mirror of
https://github.com/ihabunek/twitch-dl
synced 2024-08-30 18:32:25 +00:00
Fix --debug when no command is given
This commit is contained in:
parent
5ae4396ab4
commit
f663525d07
@ -253,7 +253,7 @@ def main():
|
||||
parser = get_parser()
|
||||
args = parser.parse_args()
|
||||
|
||||
if args.debug:
|
||||
if "--debug" in sys.argv:
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
|
||||
if args.version:
|
||||
|
Loading…
Reference in New Issue
Block a user