aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-03-09 23:10:55 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-03-09 23:10:55 +0530
commit049ef848e0dac35c3d11be0d8aea600c0668ea43 (patch)
tree2c45b3f695e341ec29959425ec30df22343eae7c
parent9a58a5901fa18b8db30d21077a28659932de76f3 (diff)
fixed argparse
-rw-r--r--main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index 9f050da..de93106 100644
--- a/main.py
+++ b/main.py
@@ -29,7 +29,7 @@ if args.version:
if args.music:
music = True
if args.input:
- query = args.url
+ query = args.input
else:
query = input("Enter target song's name or YouTube URL: ")