diff --git a/main/templatetags/pgp.py b/main/templatetags/pgp.py index 349ecaf8..4b646dcf 100644 --- a/main/templatetags/pgp.py +++ b/main/templatetags/pgp.py @@ -51,9 +51,9 @@ def pgp_key_link(key_id, link_text=None): return format_key(key_id) pgp_server_secure = getattr(settings, 'PGP_SERVER_SECURE', False) scheme = 'https' if pgp_server_secure else 'http' - url = '%s://%s/pks/lookup?op=vindex&fingerprint=on&exact=on&search=0x%s' % (scheme, - pgp_server, - key_id) + url = '%s://%s/pks/lookup?op=vindex&fingerprint=on&exact=on&search=0x%s' % (scheme, + pgp_server, + key_id) if link_text is None: link_text = '0x%s' % key_id[-8:] return format_html('{content}',