Bug fix for issue #178

This commit is contained in:
Rhet Turnbull
2020-06-23 12:01:20 -07:00
parent 6b7c5d07fd
commit b8618cf272

View File

@@ -798,7 +798,7 @@ class PhotosDB:
try: try:
self._dbphotos[uuid]["imageDate"] = datetime.fromtimestamp(row[5] + td) self._dbphotos[uuid]["imageDate"] = datetime.fromtimestamp(row[5] + td)
except ValueError: except ValueError:
self._dbphotos[uuid]["imageDate"] = datetime.date(1970, 1, 1) self._dbphotos[uuid]["imageDate"] = datetime(1970, 1, 1)
self._dbphotos[uuid]["mainRating"] = row[6] self._dbphotos[uuid]["mainRating"] = row[6]
self._dbphotos[uuid]["hasAdjustments"] = row[7] self._dbphotos[uuid]["hasAdjustments"] = row[7]