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