Closes #330 Changed default choice from No to Yes for wormhole receive
This commit is contained in:
parent
293893ec01
commit
e2c678930c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user