This commit is contained in:
Kovid Goyal 2018-12-02 07:18:23 +05:30
commit bbcfac91f0
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -78,7 +78,7 @@ class KOBO(USBMS):
gui_name = 'Kobo Reader'
description = _('Communicate with the Kobo Reader')
author = 'Timothy Legge and David Forrester'
version = (2, 4, 0)
version = (2, 5, 0)
dbversion = 0
fwversion = (0,0,0)
@ -1683,7 +1683,8 @@ class KOBOTOUCH(KOBO):
# print "Normalized FileName: " + path
# Collect the Kobo metadata
kobo_metadata = Metadata(title, [a.strip() for a in authors.split("&")])
authors_list = [a.strip() for a in authors.split("&")] if authors is not None else [_('Unknown')]
kobo_metadata = Metadata(title, authors_list)
kobo_metadata.series = series
kobo_metadata.series_index = seriesnumber
kobo_metadata.comments = Description