X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/8495b2ce8e9aebe778db74217b60fb68c0b5f9f2..eb6b8e8e497922011e8a89f1e1869d68ef8f7066:/src/librarian/covers/marquise.py?ds=sidebyside diff --git a/src/librarian/covers/marquise.py b/src/librarian/covers/marquise.py index 283a2be..d1f832c 100644 --- a/src/librarian/covers/marquise.py +++ b/src/librarian/covers/marquise.py @@ -56,7 +56,7 @@ class MarquiseCover(Cover): self.scale_after = final_width / self.width if final_height is not None: - self.height = round(final_height / self.m._scale) + self.height = round(final_height / self.scale_after / self.m._scale) self.square_variant = self.height / self.width < 250 / 210