# HG changeset patch # User Mads Kiilerich # Date 2019-08-03 23:54:18 # Node ID e7683417f588644c4f4d68adcf74f41ad14539a4 # Parent 66e8dbd4b571ad0308bf4cd9077a406871278217 flake8: fix E202 whitespace before ')' diff --git a/kallithea/lib/helpers.py b/kallithea/lib/helpers.py --- a/kallithea/lib/helpers.py +++ b/kallithea/lib/helpers.py @@ -917,7 +917,7 @@ def gravatar_url(email_address, size=30, return default parsed_url = urlparse.urlparse(url.current(qualified=True)) - url = (c.visual.gravatar_url or User.DEFAULT_GRAVATAR_URL ) \ + url = (c.visual.gravatar_url or User.DEFAULT_GRAVATAR_URL) \ .replace('{email}', email_address) \ .replace('{md5email}', hashlib.md5(safe_str(email_address).lower()).hexdigest()) \ .replace('{netloc}', parsed_url.netloc) \