diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 82f6e08d0..5c66ae4b9 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -78,7 +78,6 @@ import gen.lib import const from GrampsCfg import get_researcher import Sort -import GrampsLocale from gen.plug import PluginManager from gen.plug.menu import PersonOption, NumberOption, StringOption, \ BooleanOption, EnumeratedListOption, FilterOption, \ @@ -430,15 +429,6 @@ class BasePage: Creates the navigation menu """ - # Determine if there will be a link to WebCal or not??? - use_webcal = False - webcal_link = self.report.webcal_link - if webcal_link.strip() != '': - if not webcal_link.endswith(self.ext): - webcal_link += self.ext - if os.path.isfile(webcal_link): - use_webcal = True - navs = [ (self.report.index_fname, _('Home'), self.report.use_home), (self.report.intro_fname, _('Introduction'), self.report.use_intro), @@ -449,7 +439,6 @@ class BasePage: ('download', _('Download'), self.report.inc_download), ('contact', _('Contact'), self.report.use_contact), ('sources', _('Sources'), True), - (webcal_link, _('Web Calendar'), use_webcal), ] of.write('\t\n\n') @@ -501,7 +492,7 @@ class WebCalReport(Report): of.write('