mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
06dd87542f
commit
7e1068852d
@ -245,8 +245,9 @@ class Importer(object):
|
||||
raise ValueError('The exported data in %s is not valid, tail too small' % name)
|
||||
part_num, version, is_last = struct.unpack(Exporter.TAIL_FMT, raw)
|
||||
if version > Exporter.VERSION:
|
||||
raise ValueError('The exported data in %s is not valid, version (%d) is higher than maximum supported version.' % (
|
||||
name, version))
|
||||
raise ValueError('The exported data in %s is not valid,'
|
||||
' version (%d) is higher than maximum supported version.'
|
||||
' You might need to upgrade calibre first.' % (name, version))
|
||||
part_map[part_num] = path, is_last
|
||||
nums = sorted(part_map)
|
||||
if not nums:
|
||||
|
Loading…
x
Reference in New Issue
Block a user