From f4d145fce9f87682273c3689c4eec2471d0a59f0 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 30 Dec 2008 21:26:15 -0800 Subject: [PATCH] IGN:... --- src/calibre/ebooks/metadata/html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/metadata/html.py b/src/calibre/ebooks/metadata/html.py index c8f6c3ea16..9ef578c858 100644 --- a/src/calibre/ebooks/metadata/html.py +++ b/src/calibre/ebooks/metadata/html.py @@ -13,7 +13,7 @@ from calibre.ebooks.metadata import MetaInformation from calibre.ebooks.chardet import xml_to_unicode def get_metadata(stream): - src = xml_to_unicode(stream.read()) + src = xml_to_unicode(stream.read())[0] # Title title = None