Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Commit

Permalink
Fixed colored output for timezone update #29
Browse files Browse the repository at this point in the history
  • Loading branch information
RhetTbull committed Jan 13, 2022
1 parent f556c4e commit ef3331f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion photos_time_warp/_version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
""" version for photos_time_warp """

__version__ = "0.1.9"
__version__ = "0.1.10"
6 changes: 3 additions & 3 deletions photos_time_warp/phototz.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,9 @@ def _update_photo(self, photo: Photo):
"""
results = execute(self.db_path, sql_update)
self.verbose(
f"Updated timezone for photo {photo.filename} ({photo.uuid}) "
+ f"from {row.ZTIMEZONENAME}, offset={row.ZTIMEZONEOFFSET} "
+ f"to {self.tz_name}, offset={self.tz_offset}"
f"Updated timezone for photo [filename]{photo.filename}[/filename] ([uuid]{photo.uuid}[/uuid]) "
+ f"from [tz]{row.ZTIMEZONENAME}[/tz], offset=[tz]{row.ZTIMEZONEOFFSET}[/tz] "
+ f"to [tz]{self.tz_name}[/tz], offset=[tz]{self.tz_offset}[/tz]"
)
except Exception as e:
raise e

0 comments on commit ef3331f

Please sign in to comment.