Rename photo jsonify bytes_str, duration_str -> _string.

This commit is contained in:
voussoir 2021-05-24 20:19:58 -07:00
parent 3918a776c1
commit a5913a17f9
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -1077,9 +1077,9 @@ class Photo(ObjectBase):
'ratio': self.ratio,
'area': self.area,
'bytes': self.bytes,
'duration_str': self.duration_string,
'duration_string': self.duration_string,
'duration': self.duration,
'bytes_str': self.bytestring,
'bytes_string': self.bytestring,
'has_thumbnail': bool(self.thumbnail),
'created': self.created,
'filename': self.basename,