From 97b5df209d4d802ad12ab62a7a0ce68b65422cbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Thu, 2 Jun 2011 10:10:37 +0000 Subject: [PATCH] try to fix 'self.URL' svn: r17665 --- src/plugins/gramplet/PluginManagerGramplet.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/gramplet/PluginManagerGramplet.py b/src/plugins/gramplet/PluginManagerGramplet.py index 064c0fa29..23a2d0989 100644 --- a/src/plugins/gramplet/PluginManagerGramplet.py +++ b/src/plugins/gramplet/PluginManagerGramplet.py @@ -42,7 +42,7 @@ class PluginManagerGramplet(Gramplet): """ Headlines News Gramplet reads the Headline News every hour. """ - self.URL = "http://www.gramps-project.org/wiki/index.php?title=Plugins&action=raw" + URL = "http://www.gramps-project.org/wiki/index.php?title=Plugins&action=raw" def init(self): """ Initializes the Gramplet @@ -53,6 +53,7 @@ class PluginManagerGramplet(Gramplet): """ The main code of the Gramplet. (iterator) """ + self.URL = URL self.set_text(_("Reading") + " '%s'..." % self.URL) yield True fp = urllib.urlopen(self.URL)