Do 800 too.
This commit is contained in:
parent
a80528f9d3
commit
40fbd49442
@ -87,7 +87,7 @@ class Album(object):
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
class Photo(object):
|
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):
|
def __init__(self, path, thumb_path=None, attributes=None):
|
||||||
self._path = trim_base(path)
|
self._path = trim_base(path)
|
||||||
self.is_valid = True
|
self.is_valid = True
|
||||||
@ -236,4 +236,4 @@ class PhotoAlbumEncoder(json.JSONEncoder):
|
|||||||
if isinstance(obj, Album) or isinstance(obj, Photo):
|
if isinstance(obj, Album) or isinstance(obj, Photo):
|
||||||
return obj.to_dict()
|
return obj.to_dict()
|
||||||
return json.JSONEncoder.default(self, obj)
|
return json.JSONEncoder.default(self, obj)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user