round srt timestamps to 3 digits

This commit is contained in:
j 2012-06-17 01:10:34 +02:00
parent f6100c0ea8
commit 7f567d78a0

View file

@ -1239,8 +1239,8 @@ class Item(models.Model):
annotation = Annotation( annotation = Annotation(
item=self, item=self,
layer=layer, layer=layer,
start=data['in'], start=float('%0.03f'%data['in']),
end=data['out'], end=float('%0.03f'%data['out']),
value=value, value=value,
user=user user=user
) )