Commit a60063f0 authored by Skia's avatar Skia

Oops, syntax error + styling footer

parent 7f056123
Pipeline #439 passed with stage
in 2 minutes and 28 seconds
......@@ -355,7 +355,7 @@ footer div{
}
footer a{
margin-left: 20px;
margin: 1px 20px;
}
/*---------------------------------FORMS-------------------------------*/
......
......@@ -17,7 +17,7 @@ class Picture(SithFile):
@property
def is_vertical(self):
with open(settings.MEDIA_ROOT + self.file.name).encode('utf-8'), 'rb') as f:
with open((settings.MEDIA_ROOT + self.file.name).encode('utf-8'), 'rb') as f:
im = Image.open(BytesIO(f.read()))
(w, h) = im.size
return (w / h) < 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment