X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/8495b2ce8e9aebe778db74217b60fb68c0b5f9f2..9d05775ad3576582aeb43bdd95224c58f17e1673:/src/librarian/covers/marquise.py 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