mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Typo
This commit is contained in:
parent
af7ac96784
commit
585c9ced46
@ -102,7 +102,7 @@ def finalize_resources(book, root_name, resource_data):
|
||||
elif unresolved_deps:
|
||||
unresolved_deps.add(dname)
|
||||
for index, sz, repl in reversed(replacements):
|
||||
text = text[:index] + repl + text[index:]
|
||||
text = text[:index] + repl + text[index + sz:]
|
||||
return unresolved_deps, text
|
||||
|
||||
unresolved_deps_map = {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user