Legimi fix
authorRadek Czajka <rczajka@rczajka.pl>
Mon, 23 May 2022 09:41:57 +0000 (11:41 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Mon, 23 May 2022 09:41:57 +0000 (11:41 +0200)
src/depot/legimi.py

index b0015c9..99f7062 100644 (file)
@@ -314,7 +314,7 @@ class Legimi:
             'SamplesGenerationPercent': '10',
 
             'EnterToTheMarketType': 'No',
             'SamplesGenerationPercent': '10',
 
             'EnterToTheMarketType': 'No',
-            'EnterToTheMarketDate': date.today().strftime('%d.%m.%Y'),
+            'EnterToTheMarketDate': '',
             'HidingDate': '',
             'SalesNoLimitOption': 'false',
             'SalesNoLimitKindle': 'false',
             'HidingDate': '',
             'SalesNoLimitOption': 'false',
             'SalesNoLimitKindle': 'false',
@@ -408,7 +408,7 @@ class Legimi:
             'OriginalEnterToTheMarketType': "No",
             'OriginalHidingDate': "",
             'OriginalEnterToTheMarketDate': "",
             'OriginalEnterToTheMarketType': "No",
             'OriginalHidingDate': "",
             'OriginalEnterToTheMarketDate': "",
-            'EnterToTheMarketType': "No",
+            'EnterToTheMarketType': "Yes",
             'EnterToTheMarketDate': "",
             'HidingDate': "",
             'SalesNoLimitOption': abo,
             'EnterToTheMarketDate': "",
             'HidingDate': "",
             'SalesNoLimitOption': abo,
@@ -424,7 +424,7 @@ class Legimi:
             self.EDIT_SALE_URL % book.legimi_id,
             data=data
         )
             self.EDIT_SALE_URL % book.legimi_id,
             data=data
         )
-        
+
 
 legimi = Legimi(
     settings.LEGIMI_USERNAME,
 
 legimi = Legimi(
     settings.LEGIMI_USERNAME,