From fb22b83f1415bdaa99a3eb50b6a0c35ef7879bb6 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Sun, 5 May 2013 18:17:37 +0000 Subject: [PATCH] 6582: Fix problem with warning message svn: r22180 --- gramps/gui/viewmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gui/viewmanager.py b/gramps/gui/viewmanager.py index 9e68c815e..1bbf08f62 100644 --- a/gramps/gui/viewmanager.py +++ b/gramps/gui/viewmanager.py @@ -387,7 +387,7 @@ class ViewManager(CLIManager): (config.get("behavior.addons-url"), lang[:2])) fp = urlopen(URL, timeout=10) except Exception as err: # some error - LOG.warn("Failed to open %s: %s" (lang, str(err))) + LOG.warn("Failed to open %s: %s" % (lang, err)) fp = None if fp and fp.getcode() == 200: # ok break