From a696bd7c85299cfd538d2f8b8442cb2ba234d3fa Mon Sep 17 00:00:00 2001 From: pazz Date: Wed, 3 Aug 2011 22:04:09 +0100 Subject: added path completer for edit and attach cmds --- alot/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alot/command.py') diff --git a/alot/command.py b/alot/command.py index 9882d1fc..ea61ecde 100644 --- a/alot/command.py +++ b/alot/command.py @@ -876,7 +876,7 @@ def interpret_commandline(cmdline, mode): elif cmd == 'toggletag': return commandfactory(cmd, tag=params) elif cmd == 'edit': - filepath = params[0] + filepath = os.path.expanduser(params) if os.path.isfile(filepath): return commandfactory(cmd, path=filepath) else: -- cgit v1.2.3