From 5af8f04818d4d81b7ae2f0e5c5c71cb17f287573 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Thu, 1 Nov 2018 13:22:53 +0100 Subject: [PATCH] Maintenance version 5.2.1: Fix regression thanks to Jelal Bairamoglou * The default feed can be updated twice again. * For testing: Possible fix: When the default feed has been updated and it stops working due to server issues, the previous articles aren't deleted and can be read with the corresponding keystrokes. --- addon/globalPlugins/readFeeds/__init__.py | 2 +- buildVars.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addon/globalPlugins/readFeeds/__init__.py b/addon/globalPlugins/readFeeds/__init__.py index 831fbd01..1150fbfc 100644 --- a/addon/globalPlugins/readFeeds/__init__.py +++ b/addon/globalPlugins/readFeeds/__init__.py @@ -604,7 +604,7 @@ def getFirstArticle(self): with open(os.path.join(FEEDS_PATH, addressFile), "r") as f: address = f.read() f.close() - if self.feed and self.feed.getUrl == address: + if self.feed and self.feed.getFeedUrl() == address: curFeed = self.feed else: curFeed = None diff --git a/buildVars.py b/buildVars.py index ca00a24e..6f6ab600 100644 --- a/buildVars.py +++ b/buildVars.py @@ -19,7 +19,7 @@ # Translators: Long description to be shown for this add-on on add-on information from add-ons manager "addon_description" : _("""Add-on for using NVDA as a feed reader."""), # version - "addon_version" : "5.2", + "addon_version" : "5.2.1", # Author(s) "addon_author" : u"Noelia Ruiz Martínez , Mesar Hameed ", # URL for the add-on documentation support