Skip to content

Commit

Permalink
change info printing
Browse files Browse the repository at this point in the history
  • Loading branch information
BPplays committed Aug 21, 2024
1 parent ec5d11a commit c0459a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tagstudio/src/qt/widgets/preview_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,9 +542,8 @@ def update_widgets(self):
movie = QMovie(str(filepath))
image = Image.open(str(filepath))
if hasattr(image, "n_frames"):
print(image.n_frames)
if image.n_frames > 1:
print("treating as animated image: ", filepath)
print("treating as animated image:", filepath, "with:", image.n_frames, "frames")
self.preview_gif.setMovie(movie)
self.resizeEvent(
QResizeEvent(
Expand Down

0 comments on commit c0459a7

Please sign in to comment.