Do 800 too.

master
Jason A. Donenfeld 2011-05-06 07:58:11 -04:00
parent a80528f9d3
commit 40fbd49442
1 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ class Album(object):
return None
class Photo(object):
thumb_sizes = [ (150, True), (640, False), (1024, False) ]
thumb_sizes = [ (150, True), (640, False), (800, False), (1024, False) ]
def __init__(self, path, thumb_path=None, attributes=None):
self._path = trim_base(path)
self.is_valid = True
@ -236,4 +236,4 @@ class PhotoAlbumEncoder(json.JSONEncoder):
if isinstance(obj, Album) or isinstance(obj, Photo):
return obj.to_dict()
return json.JSONEncoder.default(self, obj)