Skip to content

Commit

Permalink
partially revert "refix type ignore comments" due to being implemente…
Browse files Browse the repository at this point in the history
  • Loading branch information
Computerdores committed Nov 28, 2024
1 parent eec1c2f commit 2815bf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tagstudio/src/qt/widgets/preview_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ def update_date_label(self, filepath: Path | None = None) -> None:
if filepath and filepath.is_file():
created: dt = None
if platform.system() == "Windows" or platform.system() == "Darwin":
created = dt.fromtimestamp(filepath.stat().st_birthtime) # type: ignore[attr-defined,unused-ignore]
created = dt.fromtimestamp(filepath.stat().st_birthtime) # type: ignore[attr-defined]
else:
created = dt.fromtimestamp(filepath.stat().st_ctime)
modified: dt = dt.fromtimestamp(filepath.stat().st_mtime)
Expand Down

0 comments on commit 2815bf0

Please sign in to comment.