From: Radek Czajka Date: Tue, 22 Aug 2023 14:53:03 +0000 (+0200) Subject: fix X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/54612c196135c939a7d17d51b81b1357f6eac9c3?hp=07184f3d87ef093639e4eb908cee45cf69c4a0bb fix --- diff --git a/src/depot/publishers/woblink.py b/src/depot/publishers/woblink.py index 83fb3174..4cbc89eb 100644 --- a/src/depot/publishers/woblink.py +++ b/src/depot/publishers/woblink.py @@ -488,6 +488,7 @@ class Woblink(BasePublisher): 'pubFileFormat': 'epub+mobi', 'pubIsAcs': '0', 'pubPublisherIndex': '', + 'save_and_continue': '', } d = self.with_form_name(d, 'EditPublicationStep3') return self.session.post(self.STEP3_URL % woblink_id, data=d) @@ -501,12 +502,13 @@ class Woblink(BasePublisher): 'pubMobiDemoResId': mobi_demo, 'pubFileFormat': 'epub+mobi', 'pubId': woblink_id, + 'save_and_continue': '', } d = self.with_form_name(d, 'EditPublicationStep4') return self.session.post(self.STEP4_URL % woblink_id, data=d) def edit_step5(self, woblink_id, book_data): - d = {} + d = {'save': ''} d = self.with_form_name(d, 'EditPublicationStep5') return self.session.post(self.STEP5_URL % woblink_id, data=d)