AV-98-fork

A fork of https://tildegit.org/solderpunk/AV-98
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit b8fa8233bc6b8c8e3b366a23f671ab1f9af5fc96
parent 94cf54df18f5a88967693e5509c1388110c8a003
Author: Solderpunk <solderpunk@sdf.org>
Date:   Sun,  7 Jun 2020 19:13:00 +0200

Support new status code 11.

Diffstat:
Mav98.py | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/av98.py b/av98.py @@ -15,6 +15,7 @@ import codecs import collections import datetime import fnmatch +import getpass import glob import hashlib import io @@ -407,7 +408,10 @@ Slow internet connection? Use 'set timeout' to be more patient.""") # Inputs if status.startswith("1"): print(meta) - user_input = input("> ") + if status == "11": + user_input = getpass.getpass("> ") + else: + user_input = input("> ") self._go_to_gi(gi.query(user_input)) return # Redirects