diff --git a/python/worblehat.py b/python/worblehat.py index c362133..e56800e 100755 --- a/python/worblehat.py +++ b/python/worblehat.py @@ -196,14 +196,12 @@ def combine_dicts(*dicts): res.update(d) return res -def open_file(filename): +def run_editor(filename): if os.path.exists(filename): os.system("%s %s || /usr/bin/env vi %s" %(os.getenv("EDITOR"), filename, filename)) else: exit("Error: %s: File does not exist!" % filename) - return open(filename, 'r').readlines() - cmdline_parsed = parse_cmdline(sys.argv[1:])