Support new status code 11.
This commit is contained in:
parent
94cf54df18
commit
b8fa8233bc
6
av98.py
6
av98.py
|
@ -15,6 +15,7 @@ import codecs
|
||||||
import collections
|
import collections
|
||||||
import datetime
|
import datetime
|
||||||
import fnmatch
|
import fnmatch
|
||||||
|
import getpass
|
||||||
import glob
|
import glob
|
||||||
import hashlib
|
import hashlib
|
||||||
import io
|
import io
|
||||||
|
@ -407,7 +408,10 @@ Slow internet connection? Use 'set timeout' to be more patient.""")
|
||||||
# Inputs
|
# Inputs
|
||||||
if status.startswith("1"):
|
if status.startswith("1"):
|
||||||
print(meta)
|
print(meta)
|
||||||
user_input = input("> ")
|
if status == "11":
|
||||||
|
user_input = getpass.getpass("> ")
|
||||||
|
else:
|
||||||
|
user_input = input("> ")
|
||||||
self._go_to_gi(gi.query(user_input))
|
self._go_to_gi(gi.query(user_input))
|
||||||
return
|
return
|
||||||
# Redirects
|
# Redirects
|
||||||
|
|
Loading…
Reference in New Issue