summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-06-19 21:55:56 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-06-19 21:55:56 +0200
commit047aab9d5821a7802af3e1dfda324ae9e0842c05 (patch)
treeefcf263c64d95eb82b7d17be83b761d6d01bf915
parent65dba564dded902ae8103e5f5a6dc5d64e4fb1a0 (diff)
correctly handle CR2 previews in sub-directoriesHEADmain
-rwxr-xr-xbin/pyggle2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pyggle b/bin/pyggle
index a2e3348..e91a3c3 100755
--- a/bin/pyggle
+++ b/bin/pyggle
@@ -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("/", "-")