espelhamento de
https://github.com/arsenetar/dupeguru.git
sincronizado 2025-07-03 22:13:20 +00:00
When an exif tag can't be read, log the event as 'info' rather than 'warning'. We don't want to fill the user's console with these messages, which will be very common.
Esse commit está contido em:
pai
1f26fbeacc
commit
8b1170a82b
@ -25,7 +25,7 @@ def getmatches(files, j):
|
|||||||
timestamp = exifdata['DateTimeOriginal']
|
timestamp = exifdata['DateTimeOriginal']
|
||||||
timestamp2pic[timestamp].add(picture)
|
timestamp2pic[timestamp].add(picture)
|
||||||
except Exception:
|
except Exception:
|
||||||
logging.warning("Couldn't read EXIF of picture: %s", picture.path)
|
logging.info("Couldn't read EXIF of picture: %s", picture.path)
|
||||||
if '0000:00:00 00:00:00' in timestamp2pic: # very likely false matches
|
if '0000:00:00 00:00:00' in timestamp2pic: # very likely false matches
|
||||||
del timestamp2pic['0000:00:00 00:00:00']
|
del timestamp2pic['0000:00:00 00:00:00']
|
||||||
matches = []
|
matches = []
|
||||||
|
Carregando…
x
Referência em uma nova issue
Block a user