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):
|
def _ask_permission(self):
|
||||||
with self.args.timing.add("permission", waiting="user") as t:
|
with self.args.timing.add("permission", waiting="user") as t:
|
||||||
while True and not self.args.accept_file:
|
while True and not self.args.accept_file:
|
||||||
ok = six.moves.input("ok? (y/N): ")
|
ok = six.moves.input("ok? (Y/n): ")
|
||||||
if ok.lower().startswith("y"):
|
if not ok.lower().startswith("n"):
|
||||||
if os.path.exists(self.abs_destname):
|
if os.path.exists(self.abs_destname):
|
||||||
self._remove_existing(self.abs_destname)
|
self._remove_existing(self.abs_destname)
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue
Block a user