From cec0378b772b1410f0d959e0d3d9316b9c27f216 Mon Sep 17 00:00:00 2001 From: Griatch Date: Thu, 25 Sep 2014 15:53:52 +0200 Subject: [PATCH] Removed a spurious save_buffer argument. --- contrib/lineeditor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/lineeditor.py b/contrib/lineeditor.py index eb7d17602..3f9e34124 100644 --- a/contrib/lineeditor.py +++ b/contrib/lineeditor.py @@ -226,7 +226,7 @@ class CmdEditorGroup(CmdEditorBase): # quit. If not saved, will ask if self.editor.unsaved: prompt_yesno(caller, "Save before quitting?", - yescode = "self.caller.ndb._lineeditor.save_buffer(quitting=True)\nself.caller.ndb._lineeditor.quit()", + yescode = "self.caller.ndb._lineeditor.save_buffer()\nself.caller.ndb._lineeditor.quit()", nocode = "self.caller.msg(self.caller.ndb._lineeditor.quit())", default="Y") else: string = editor.quit()