Split this line up for length reasons.
This commit is contained in:
parent
dcfb2edf85
commit
dfb3e9e6ed
1 changed files with 2 additions and 1 deletions
|
@ -359,7 +359,8 @@ class Epub:
|
|||
for item in self.get_manifest_items(soup=True):
|
||||
filepath = self.get_filepath(item['id'])
|
||||
if not filepath.exists:
|
||||
raise InvalidEpub(self._original_path, f'Manifest item {item["id"]} = {item["href"]} does not exist.')
|
||||
message = f'Manifest item {item["id"]} = {item["href"]} does not exist.'
|
||||
raise InvalidEpub(self.original_path, message)
|
||||
|
||||
# LOADING AND SAVING
|
||||
############################################################################
|
||||
|
|
Loading…
Reference in a new issue