From fe9e36d030825d8418806deea51a790527589158 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 10 Sep 2011 08:47:42 -0600 Subject: [PATCH] ... --- src/calibre/ebooks/metadata/rtf.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/calibre/ebooks/metadata/rtf.py b/src/calibre/ebooks/metadata/rtf.py index 70f6effcda..5abbfb73f8 100644 --- a/src/calibre/ebooks/metadata/rtf.py +++ b/src/calibre/ebooks/metadata/rtf.py @@ -93,7 +93,7 @@ def get_metadata(stream): stream.seek(0) cpg = detect_codepage(stream) stream.seek(0) - + title_match = title_pat.search(block) if title_match is not None: title = decode(title_match.group(1).strip(), cpg) @@ -162,7 +162,6 @@ def set_metadata(stream, options): index = src.rindex('}') return src[:index] + r'{\ '[:-1] + name + ' ' + val + '}}' src, pos = get_document_info(stream) - print 'I was thre' if src is not None: create_metadata(stream, options) else: