mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
f1867f1128
commit
fe9e36d030
@ -162,7 +162,6 @@ def set_metadata(stream, options):
|
|||||||
index = src.rindex('}')
|
index = src.rindex('}')
|
||||||
return src[:index] + r'{\ '[:-1] + name + ' ' + val + '}}'
|
return src[:index] + r'{\ '[:-1] + name + ' ' + val + '}}'
|
||||||
src, pos = get_document_info(stream)
|
src, pos = get_document_info(stream)
|
||||||
print 'I was thre'
|
|
||||||
if src is not None:
|
if src is not None:
|
||||||
create_metadata(stream, options)
|
create_metadata(stream, options)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user