From d0f8887c237412778afd0eefbe59a3d68cf602cb Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 3 Jun 2021 21:47:11 +0200 Subject: show "ISO x" instead of "Verstärkung: ISOx" on detail page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/pyggle | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/pyggle b/bin/pyggle index 662061f..c3bc313 100755 --- a/bin/pyggle +++ b/bin/pyggle @@ -107,8 +107,9 @@ class ImageHTML: entries.append(self.focal_length) if iso is not None: - self.iso = f"""ISO{iso}""" - entries.append(self.iso) + self.iso_iso = f"""ISO{iso}""" + self.iso = f"""{iso}""" + entries.append(self.iso_iso) self.focus = " ".join(entries) @@ -159,7 +160,7 @@ class ImageHTML: if self.exposure: buf += f"Belichtung{self.exposure}\n" if self.iso: - buf += f"Verstärkung{self.iso}\n" + buf += f"ISO{self.iso}\n" if self.focal_length: buf += f"Brennweite{self.focal_length}\n" buf += " \n" -- cgit v1.2.3