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(
item=self,
layer=layer,
start=data['in'],
end=data['out'],
start=float('%0.03f'%data['in']),
end=float('%0.03f'%data['out']),
value=value,
user=user
)