summaryrefslogtreecommitdiff
path: root/alot/completion.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/completion.py')
-rw-r--r--alot/completion.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/alot/completion.py b/alot/completion.py
index 65329d5b..b10aa7f4 100644
--- a/alot/completion.py
+++ b/alot/completion.py
@@ -463,8 +463,7 @@ class CommandCompleter(Completer):
# re-insert whitespaces and correct position
wso = whitespaceoffset
- res = [(' ' * wso + cmd, p + wso) for cmd, p
- in res]
+ res = [(' ' * wso + cmdstr, p + wso) for cmdstr, p in res]
return res