summaryrefslogtreecommitdiff
path: root/alot/completion.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/completion.py')
-rw-r--r--alot/completion.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/completion.py b/alot/completion.py
index 300592b3..d4f0cf13 100644
--- a/alot/completion.py
+++ b/alot/completion.py
@@ -289,7 +289,7 @@ class CommandNameCompleter(Completer):
def complete(self, original, pos):
# TODO refine <tab> should get current querystring
commandprefix = original[:pos]
- logging.debug('original="%s" prefix="%s"' % (original, commandprefix))
+ logging.debug('original="%s" prefix="%s"', original, commandprefix)
cmdlist = commands.COMMANDS['global'].copy()
cmdlist.update(commands.COMMANDS[self.mode])
matching = [t for t in cmdlist if t.startswith(commandprefix)]