From: Radek Czajka Date: Mon, 23 May 2022 09:41:57 +0000 (+0200) Subject: Legimi fix X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/deabe6b4d1a81b2f553526a6172227dd00fe8817?ds=inline;hp=dd930d2c318a7917b31b0d23e19d48b0ac309ec1 Legimi fix --- diff --git a/src/depot/legimi.py b/src/depot/legimi.py index b0015c90..99f70624 100644 --- a/src/depot/legimi.py +++ b/src/depot/legimi.py @@ -314,7 +314,7 @@ class Legimi: 'SamplesGenerationPercent': '10', 'EnterToTheMarketType': 'No', - 'EnterToTheMarketDate': date.today().strftime('%d.%m.%Y'), + 'EnterToTheMarketDate': '', 'HidingDate': '', 'SalesNoLimitOption': 'false', 'SalesNoLimitKindle': 'false', @@ -408,7 +408,7 @@ class Legimi: 'OriginalEnterToTheMarketType': "No", 'OriginalHidingDate': "", 'OriginalEnterToTheMarketDate': "", - 'EnterToTheMarketType': "No", + 'EnterToTheMarketType': "Yes", 'EnterToTheMarketDate': "", 'HidingDate': "", 'SalesNoLimitOption': abo, @@ -424,7 +424,7 @@ class Legimi: self.EDIT_SALE_URL % book.legimi_id, data=data ) - + legimi = Legimi( settings.LEGIMI_USERNAME,