bb7e5f6b80a0 — Frédéric Lespez 8 years ago
Fix _proceed() that was failing if you just type ENTER
1 files changed, 1 insertions(+), 1 deletions(-)

M gnome-encfs
M gnome-encfs +1 -1
@@ 160,7 160,7 @@ def _exit(ec):
 
 def _proceed(msg):
     print("Warning: %s" % msg)
-    proceed = preset.proceed or raw_input("Proceed [y/N]: ")
+    proceed = preset.proceed or raw_input("Proceed [y/N]: ") or "n"
     if proceed.strip()[0].lower() != "y":
         _exit(2)