From 6e831360a29d9f9e181f238a5565bff3fb7dc253 Mon Sep 17 00:00:00 2001 From: Sengian Date: Mon, 10 Jan 2011 21:27:45 +0100 Subject: [PATCH] Fix 0 case in rtf cp + case when there is no pictures in a file --- src/calibre/ebooks/rtf2xml/default_encoding.py | 6 ++++-- src/calibre/ebooks/rtf2xml/pict.py | 5 ++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/calibre/ebooks/rtf2xml/default_encoding.py b/src/calibre/ebooks/rtf2xml/default_encoding.py index e145a8a75e..c7e030e48b 100755 --- a/src/calibre/ebooks/rtf2xml/default_encoding.py +++ b/src/calibre/ebooks/rtf2xml/default_encoding.py @@ -101,7 +101,7 @@ class DefaultEncoding: break if self.__token_info == 'cw