Fix input parsing bug.
This commit is contained in:
parent
6cb9f6a65e
commit
cd2faaa958
2
av98.py
2
av98.py
|
@ -266,7 +266,7 @@ class GeminiClient(cmd.Cmd):
|
|||
if self.active_cert_domains and gi.host not in self.active_cert_domains:
|
||||
print("PRIVACY ALERT: Deactivate client cert before connecting to a new domain?")
|
||||
resp = input("Y/N? ")
|
||||
if resp.lower in ("n", "no"):
|
||||
if resp.strip().lower() in ("n", "no"):
|
||||
print("Keeping certificate active for {}".format(gi.host))
|
||||
else:
|
||||
print("Deactivating certificate.")
|
||||
|
|
Loading…
Reference in New Issue