X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/467b414abdf8b789bef9a71a69a497c64ec19b3f..fdb9aaea02d3e78cb8e97b967435239672f23217:/src/depot/legimi.py?ds=sidebyside diff --git a/src/depot/legimi.py b/src/depot/legimi.py index 86ad6e52..f61bbfd9 100644 --- a/src/depot/legimi.py +++ b/src/depot/legimi.py @@ -190,6 +190,8 @@ class Legimi: "Year": str(date.today().year), 'GenreId': str(self.get_genre(wlbook)), + 'themaCategories': ';'.join(meta.thema), + 'thema-search': '', 'Isbn': '', 'LanguageLocale': lang_code_3to2(meta.language), @@ -351,7 +353,7 @@ class Legimi: def edit(self, legimi_id, data): current = { 'ValidationTrue': 'true', - 'Is': legimi_id + 'Id': legimi_id } current.update(data)