Return editor when selecting

This commit is contained in:
Eric Torres 2019-02-20 02:24:02 -08:00
parent 43013af49f
commit bbfff16b44

View File

@ -62,6 +62,8 @@ def select_editor(editor_override=None):
if editor is None: if editor is None:
raise FileNotFoundError('An editor could not be resolved') raise FileNotFoundError('An editor could not be resolved')
return editor
def gen_editor_cmd(filename): def gen_editor_cmd(filename):
"""Generate a command line to run for editing a file based on """Generate a command line to run for editing a file based on