From deabe6b4d1a81b2f553526a6172227dd00fe8817 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 23 May 2022 11:41:57 +0200 Subject: [PATCH] Legimi fix --- src/depot/legimi.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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, -- 2.20.1