From 899599abdc5892dba49c25d035f8c74e606f6b8e Mon Sep 17 00:00:00 2001 From: Martin Hawlisch Date: Thu, 14 Jul 2005 21:38:03 +0000 Subject: [PATCH] small correction svn: r4934 --- gramps2/src/plugins/NavWebPage.py | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/gramps2/src/plugins/NavWebPage.py b/gramps2/src/plugins/NavWebPage.py index 5be6cc90b..b3a91da7a 100644 --- a/gramps2/src/plugins/NavWebPage.py +++ b/gramps2/src/plugins/NavWebPage.py @@ -208,7 +208,7 @@ class BasePage: try: newpath = self.copy_media(photo) of.write('
\n') - of.write('' % newpath) + of.write('' % (photo_handle,self.ext)) of.write('') of.write('
\n') @@ -473,19 +473,7 @@ class MediaPage(BasePage): of.write('\n') of.write('\n') - noteobj = photo.get_note_object() - if noteobj: - of.write('

%s

\n' % _('Narrative')) - of.write('
\n') - format = noteobj.get_format() - text = noteobj.get() - - if format: - text = u"
" + u"
".join(text.split("\n")) - else: - text = u"

".join(text.split("\n")) - of.write('

%s

\n' % text) - of.write('\n') + self.display_note_object(of, photo.get_note_object()) self.display_footer(of) self.close_file(of)