Return editor when selecting
This commit is contained in:
parent
43013af49f
commit
bbfff16b44
2
fedit.py
2
fedit.py
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user