diff --git a/etiquette/objects.py b/etiquette/objects.py index 26d7d87..b46d901 100644 --- a/etiquette/objects.py +++ b/etiquette/objects.py @@ -501,6 +501,8 @@ class Photo(ObjectBase): if self.duration: self.bitrate = (self.bytes / 128) / self.duration + else: + self.bitrate = None self.mimetype = helpers.get_mimetype(self.real_filepath) if self.mimetype is None: