diff options
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/rest/media/v1/preview_url_resource.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/synapse/rest/media/v1/preview_url_resource.py b/synapse/rest/media/v1/preview_url_resource.py index 2c86a74c7c..4df9099499 100644 --- a/synapse/rest/media/v1/preview_url_resource.py +++ b/synapse/rest/media/v1/preview_url_resource.py @@ -100,9 +100,10 @@ class PreviewUrlResource(BaseMediaResource): for attrib in entry: pattern = entry[attrib] value = getattr(url_tuple, attrib) - logger.debug("Matching attrib '%s' with value '%s' against pattern '%s'" % ( - attrib, value, pattern - )) + logger.debug(( + "Matching attrib '%s' with value '%s' against" + " pattern '%s'" + ) % (attrib, value, pattern)) if value is None: match = False |