Closes #330 Changed default choice from No to Yes for wormhole receive

This commit is contained in:
morrieinmaas 2019-05-18 15:55:30 -04:00
parent 293893ec01
commit e2c678930c

View File

@ -369,8 +369,8 @@ class Receiver:
def _ask_permission(self):
with self.args.timing.add("permission", waiting="user") as t:
while True and not self.args.accept_file:
ok = six.moves.input("ok? (y/N): ")
if ok.lower().startswith("y"):
ok = six.moves.input("ok? (Y/n): ")
if not ok.lower().startswith("n"):
if os.path.exists(self.abs_destname):
self._remove_existing(self.abs_destname)
break