fix interactive input
This commit is contained in:
parent
76edd6080c
commit
c3f488eebf
1 changed files with 2 additions and 3 deletions
|
@ -72,8 +72,6 @@ def get_input():
|
||||||
break
|
break
|
||||||
|
|
||||||
args = [
|
args = [
|
||||||
"python3",
|
|
||||||
"manga-dlp.py",
|
|
||||||
"-l",
|
"-l",
|
||||||
language,
|
language,
|
||||||
"-c",
|
"-c",
|
||||||
|
@ -89,7 +87,8 @@ def get_input():
|
||||||
args.append("--list")
|
args.append("--list")
|
||||||
|
|
||||||
# start script again with the arguments
|
# start script again with the arguments
|
||||||
subprocess.call(args)
|
sys.argv.extend(args)
|
||||||
|
get_args()
|
||||||
|
|
||||||
|
|
||||||
def get_args():
|
def get_args():
|
||||||
|
|
Loading…
Reference in a new issue