Skip to content

Commit

Permalink
Additional fix for #1703 (#1773)
Browse files Browse the repository at this point in the history
Missed one test.
  • Loading branch information
oPromessa authored Jan 5, 2025
1 parent 13d0481 commit 56a6601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osxphotos/exifutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def get_exif_date_time_offset(
dt = f"{matched.group(1)} 00:00:00"
default_time = True

if offset:
if offset is not None:
# make sure we have offset
if not re.match(r"([+-]\d{2}:\d{2})", offset):
offset = None
Expand Down

0 comments on commit 56a6601

Please sign in to comment.