Oops, syntax error + styling footer

This commit is contained in:
Skia committed 2016-11-29 11:49:41 +01:00
1 parent 7f0561234f
commit a60063f009
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -355,7 +355,7 @@ footer div{
}
footer a{
margin-left: 20px;
margin: 1px 20px;
}
/*---------------------------------FORMS-------------------------------*/
+1 -1
View File
@@ -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