Skip to content
Permalink
Browse files

Merge branch 'pr331'

closes #330
  • Loading branch information...
warner committed May 30, 2019
2 parents 293893e + 58cf584 commit ab00f8e876b873def6c184390dc61c6c1dbd334a
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/wormhole/cli/cmd_receive.py
@@ -369,8 +369,8 @@ def _remove_existing(self, path):
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 ok.lower().startswith("y") or len(ok) == 0:
if os.path.exists(self.abs_destname):
self._remove_existing(self.abs_destname)
break

0 comments on commit ab00f8e

Please sign in to comment.
You can’t perform that action at this time.