[Pkg-sugar-commit] [sugar] 05/10: View help: fix typo on url rewrite for images on translated pages

Jonas Smedegaard dr at jones.dk
Mon Sep 14 14:55:53 UTC 2015


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository sugar.

commit 63bd89f504a01feca4b1446ff04a4b8a5945322a
Author: Gonzalo Odiard <godiard at gmail.com>
Date:   Tue Aug 11 16:32:21 2015 -0300

    View help: fix typo on url rewrite for images on translated pages
---
 src/jarabe/view/viewhelp.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/jarabe/view/viewhelp.py b/src/jarabe/view/viewhelp.py
index 211c07d..2ba3577 100644
--- a/src/jarabe/view/viewhelp.py
+++ b/src/jarabe/view/viewhelp.py
@@ -210,7 +210,7 @@ class ViewHelp(Gtk.Window):
         if uri.startswith('file://') and uri.find('_images') > -1:
             if uri.find('/%s/_images/' % self._get_current_language()) > -1:
                 new_uri = uri.replace('/html/%s/_images/' %
-                                      self._get_current_language,
+                                      self._get_current_language(),
                                       '/images/')
             else:
                 new_uri = uri.replace('/html/_images/', '/images/')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sugar/sugar.git



More information about the pkg-sugar-commit mailing list