From bbfff16b44187e41c7b3267b7852f0eff62caf10 Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Wed, 20 Feb 2019 02:24:02 -0800 Subject: [PATCH] Return editor when selecting --- fedit.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fedit.py b/fedit.py index 7e58935..c87400e 100644 --- a/fedit.py +++ b/fedit.py @@ -62,6 +62,8 @@ def select_editor(editor_override=None): if editor is None: raise FileNotFoundError('An editor could not be resolved') + return editor + def gen_editor_cmd(filename): """Generate a command line to run for editing a file based on