Formatting
This commit is contained in:
parent
48618c9694
commit
f9195bac80
2 changed files with 6 additions and 2 deletions
|
@ -65,7 +65,9 @@ class MediaCache(object):
|
|||
url = attachment["url"]
|
||||
|
||||
# Ensure it's not already there
|
||||
if self.fs.find_one({"url": url, "kind": Kind.ATTACHMENT.value, "remote_id": remote_id}):
|
||||
if self.fs.find_one(
|
||||
{"url": url, "kind": Kind.ATTACHMENT.value, "remote_id": remote_id}
|
||||
):
|
||||
return
|
||||
|
||||
# If it's an image, make some thumbnails
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue