mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
IGN:...
This commit is contained in:
parent
5a0263bfd1
commit
f4d145fce9
@ -13,7 +13,7 @@ from calibre.ebooks.metadata import MetaInformation
|
|||||||
from calibre.ebooks.chardet import xml_to_unicode
|
from calibre.ebooks.chardet import xml_to_unicode
|
||||||
|
|
||||||
def get_metadata(stream):
|
def get_metadata(stream):
|
||||||
src = xml_to_unicode(stream.read())
|
src = xml_to_unicode(stream.read())[0]
|
||||||
|
|
||||||
# Title
|
# Title
|
||||||
title = None
|
title = None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user