X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/8495b2ce8e9aebe778db74217b60fb68c0b5f9f2..65ef0306d24eb3126c9f72b89ed021121b40ae2f:/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