mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 10:23:53 +01:00
Fix pep8 warning
This commit is contained in:
parent
6ff7a79308
commit
b36270b5e1
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue