Changeset 3471ccf for telemeta/models/media.py
- Timestamp:
- 11/28/11 11:09:06 (18 months ago)
- Branches:
- master, crem, crem2, dev, diadems, forma, generic, instru_search, lam, nlivemulti, production, release/1.4.4, security, social, storage, test
- Children:
- 4a62799
- Parents:
- 18bfbcf (diff), e9ecf46 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - git-author:
- yomguy <yomguy@…> (11/28/11 11:09:06)
- git-committer:
- yomguy <yomguy@…> (11/28/11 11:09:06)
- File:
-
- 1 edited
-
telemeta/models/media.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
telemeta/models/media.py
r71026ba r3471ccf 429 429 430 430 def to_dict(self): 431 if self.analyzer_id == 'duration': 432 value = self.value.split('.') 433 self.value = '.'.join([value[0], value[1][:2]]) 431 434 return {'id': self.analyzer_id, 'name': self.name, 'value': self.value, 'unit': self.unit} 432 435
Note: See TracChangeset
for help on using the changeset viewer.
