diff options
| author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-06-19 21:55:56 +0200 |
|---|---|---|
| committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-06-19 21:55:56 +0200 |
| commit | 047aab9d5821a7802af3e1dfda324ae9e0842c05 (patch) | |
| tree | efcf263c64d95eb82b7d17be83b761d6d01bf915 | |
| parent | 65dba564dded902ae8103e5f5a6dc5d64e4fb1a0 (diff) | |
correctly handle CR2 previews in sub-directories
| -rwxr-xr-x | bin/pyggle | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -326,7 +326,7 @@ class Thumbnail: self.thumbname = f"{sub_dirname}/.thumbnails/{sub_thumbname}" have_subthumb = True if os.path.exists(f"{sub_dirname}/.thumbnails/{sub_filename}.p.jpg"): - self.jpegname = f"{sub_dirname}/.thumbnails/{sub_filename}" + self.jpegname = f"{sub_dirname}/.thumbnails/{sub_filename}.p.jpg" if not have_subthumb: thumb_filename = filename.replace("/", "-") |
