Floating point hⓂ️s, and update to-do.

This commit is contained in:
voussoir 2017-06-11 21:09:17 -07:00
parent c4d1cf12e4
commit 4f03815a30
2 changed files with 2 additions and 1 deletions

View file

@ -23,6 +23,7 @@ Documentation is still a work in progress. In general, I use:
- Organize the tag exporter functions better. - Organize the tag exporter functions better.
- Replace columns like area, ratio, bitrate by using expression indices or views (`width * height` etc). - Replace columns like area, ratio, bitrate by using expression indices or views (`width * height` etc).
- Add some way to support large image albums without flooding the search results. Considering a "hidden" property so that a handful of representative images can appear in the search results, and the rest can be found on the actual Album page. - Add some way to support large image albums without flooding the search results. Considering a "hidden" property so that a handful of representative images can appear in the search results, and the rest can be found on the actual Album page.
- Add a `Photo.merge` to combine duplicate entries.
### Changelog ### Changelog

View file

@ -218,7 +218,7 @@ def hms_to_seconds(hms):
seconds += int(hms[0])*60 seconds += int(hms[0])*60
hms.pop(0) hms.pop(0)
if len(hms) == 1: if len(hms) == 1:
seconds += int(hms[0]) seconds += float(hms[0])
return seconds return seconds
def is_xor(*args): def is_xor(*args):