Rename photo jsonify bytes_str, duration_str -> _string.
This commit is contained in:
parent
3918a776c1
commit
a5913a17f9
1 changed files with 2 additions and 2 deletions
|
@ -1077,9 +1077,9 @@ class Photo(ObjectBase):
|
||||||
'ratio': self.ratio,
|
'ratio': self.ratio,
|
||||||
'area': self.area,
|
'area': self.area,
|
||||||
'bytes': self.bytes,
|
'bytes': self.bytes,
|
||||||
'duration_str': self.duration_string,
|
'duration_string': self.duration_string,
|
||||||
'duration': self.duration,
|
'duration': self.duration,
|
||||||
'bytes_str': self.bytestring,
|
'bytes_string': self.bytestring,
|
||||||
'has_thumbnail': bool(self.thumbnail),
|
'has_thumbnail': bool(self.thumbnail),
|
||||||
'created': self.created,
|
'created': self.created,
|
||||||
'filename': self.basename,
|
'filename': self.basename,
|
||||||
|
|
Loading…
Reference in a new issue