From 2e218c7ef43c2e1a880999a98a220e37268a62bd Mon Sep 17 00:00:00 2001
From: =?utf8?q?Benoi=CC=82t=20Pin?= <benoit.pin@gmail.com>
Date: Sun, 30 Jun 2013 14:33:21 +0200
Subject: [PATCH 1/1] =?utf8?q?Bugfix=C2=A0:=20il=20faut=20qu'il=20y=20ait?=
 =?utf8?q?=20plus=20d'attributs=20initialis=C3=A9s=20avant=20d'invoquer=20?=
 =?utf8?q?ce=20qu'il=20y=20a=20au=20dessus.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

---
 Photo.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Photo.py b/Photo.py
index ed6fd26..787e4ee 100755
--- a/Photo.py
+++ b/Photo.py
@@ -118,12 +118,11 @@ class Photo(Image, TileSupport, Metadata):
 		# 2 means: tiling is not available is this photo (deliberated choice of the owner)
 		# -1 means: no data tiles cannot be generated
 		self.tiles_available = 0
-		super(Photo, self).__init__(id, title, file, content_type='', precondition='')
-
 		self.auto_update_thumb = kw.get('auto_update_thumb', 1)
 		self.thumb_height = kw.get('thumb_height', 180)
 		self.thumb_width = kw.get('thumb_width', 180)
 		self.prop_filter = kw.get('prop_filter', 'ANTIALIAS')
+		super(Photo, self).__init__(id, title, file, content_type='', precondition='')
 
 		defaultBlankThumbnail = kw.get('defaultBlankThumbnail', None)
 		if defaultBlankThumbnail :
-- 
2.20.1