Skip to content

Commit

Permalink
Convert series index to string when building an API request
Browse files Browse the repository at this point in the history
  • Loading branch information
lest committed Sep 9, 2020
1 parent ed27916 commit faac3c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class BookFusionPlugin(InterfaceActionBase):
description = 'Provides synchronization of your eBooks and metadata from Calibre to your devices via the BookFusion iOS, Android & Web reader.'
supported_platforms = ['windows', 'osx', 'linux']
author = 'BookFusion'
version = (0, 5, 1)
version = (0, 5, 2)
minimum_calibre_version = (3, 16, 0)

actual_plugin = 'calibre_plugins.bookfusion.ui:InterfacePlugin'
Expand Down
2 changes: 1 addition & 1 deletion upload_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def append_metadata_req_parts(self):
if series:
self.req_body.append(self.build_req_part('metadata[series][][title]', series))
if series_index:
self.req_body.append(self.build_req_part('metadata[series][][index]', series_index))
self.req_body.append(self.build_req_part('metadata[series][][index]', str(series_index)))
for author in metadata.authors:
self.req_body.append(self.build_req_part('metadata[author_list][]', author))
for tag in metadata.tags:
Expand Down

0 comments on commit faac3c9

Please sign in to comment.