Skip to content
Snippets Groups Projects
Verified Commit 141a40a2 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Fix syntax.

parent 7ea328a5
No related branches found
No related tags found
No related merge requests found
......@@ -151,7 +151,7 @@ class SocialMedia(models.Model):
# Download the image
tmp = mkstemp()
with urlopen(item.image_url) as u, fdopen(tmp[0] as f:
with urlopen(item.image_url) as u, fdopen(tmp[0]) as f:
f.write(u.read())
# Rewind
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment