mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 03:03:50 +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:
|
for attrib in entry:
|
||||||
pattern = entry[attrib]
|
pattern = entry[attrib]
|
||||||
value = getattr(url_tuple, attrib)
|
value = getattr(url_tuple, attrib)
|
||||||
logger.debug("Matching attrib '%s' with value '%s' against pattern '%s'" % (
|
logger.debug((
|
||||||
attrib, value, pattern
|
"Matching attrib '%s' with value '%s' against"
|
||||||
))
|
" pattern '%s'"
|
||||||
|
) % (attrib, value, pattern))
|
||||||
|
|
||||||
if value is None:
|
if value is None:
|
||||||
match = False
|
match = False
|
||||||
|
|
Loading…
Reference in a new issue