X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/dd930d2c318a7917b31b0d23e19d48b0ac309ec1..8a6efdde5fcb28fb6d82695548a3412829a3e6a2:/src/depot/legimi.py?ds=sidebyside 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,