From 4a8b54a88de9d528031701ec97224752f2e2b25b Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 9 Oct 2023 15:49:47 +0200 Subject: [PATCH] fix --- src/depot/publishers/legimi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/depot/publishers/legimi.py b/src/depot/publishers/legimi.py index 6802d149..e6fe5b54 100644 --- a/src/depot/publishers/legimi.py +++ b/src/depot/publishers/legimi.py @@ -261,7 +261,7 @@ class Legimi(BasePublisher): site_book.external_id = legimi_id site_book.save(update_fields=['external_id']) - self.edit_sale(book) + self.edit_sale(site_book) def get_genre(self, wlbook): if wlbook.meta.legimi and wlbook.meta.legimi in self.CATEGORIES: -- 2.20.1