use url even if we do not need it

This commit is contained in:
Marc Jauvin 2018-01-15 16:03:22 -05:00
parent 2a274f0d8b
commit fb0a418d0a

View File

@ -438,8 +438,8 @@ def qute_settings(url):
@add_handler('bindings') @add_handler('bindings')
def qute_bindings(url): def qute_bindings(url):
"""Handler for qute://bindings View qute bindings.""" """Handler for qute://bindings View qute bindings."""
assert url
_url = url
bindings = {} bindings = {}
for mode in "normal hint command insert passthrough".split(): for mode in "normal hint command insert passthrough".split():
bindings[mode] = config.key_instance.get_bindings_for(mode) bindings[mode] = config.key_instance.get_bindings_for(mode)