X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/dd930d2c318a7917b31b0d23e19d48b0ac309ec1..35c2cc82e299b9ed2c427d8ee7ae072deddcef6d:/src/depot/legimi.py 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,