Mercurial > kallithea
changeset 8556:4e37934fc5fd
helpers: fix "has unused named argument" found with pyflakes 2.2.0
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Thu, 11 Jun 2020 19:00:13 +0200 |
parents | c5a3fe671b54 |
children | 42312c8d070d |
files | kallithea/lib/helpers.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/lib/helpers.py Sat Apr 11 20:33:12 2020 +0200 +++ b/kallithea/lib/helpers.py Thu Jun 11 19:00:13 2020 +0200 @@ -932,7 +932,7 @@ else: # if src is empty then there was no gravatar, so we use a font icon html = ("""<i class="icon-user {cls}" style="font-size: {size}px;"></i>""" - .format(cls=cls, size=size, src=src)) + .format(cls=cls, size=size)) return literal(html)