Merge PR200

This commit is contained in:
Brian Warner 2017-06-29 07:53:09 -07:00
commit a312761fb9

View File

@ -339,7 +339,7 @@ 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): ")
ok = six.moves.input("ok? (y/N): ")
if ok.lower().startswith("y"):
if os.path.exists(self.abs_destname):
self._remove_existing(self.abs_destname)