Compare commits

..

No commits in common. "a667fc5b5b35c3704586a8723b26d19e194ec7a9" and "92d5c6e7630f759df235418ed784611246844b3f" have entirely different histories.

2 changed files with 1 additions and 4 deletions

View file

@ -151,10 +151,8 @@ class File(models.Model):
self.sampleate = 0
self.channels = 0
if self.framerate and self.duration > 0:
if self.framerate:
self.pixels = int(self.width * self.height * float(utils.parse_decimal(self.framerate)) * self.duration)
else:
self.pixels = 0
def get_path_info(self):
data = {}

View file

@ -1494,7 +1494,6 @@
"hasEvents": true,
"hasPlaces": true,
"item": "Keyword",
"autocomplete": true,
"overlap": true,
"type": "string"
},