1. Vladimir Kolev
  2. gtkPyglot
Issue #1 resolved

google translate do not work

Anonymous created an issue

{{{ Traceback (most recent call last): File "/home/test/Desktop/gtkpyglot/gtkpyglot.py", line 301, in translate 'null', 'null']) ValueError: row sequence has wrong length }}} Patch fixed this: {{{ diff --git a/gtkpyglot.py b/gtkpyglot.py --- a/gtkpyglot.py +++ b/gtkpyglot.py @@ -298,7 +298,7 @@ class GtkPylyglot(object): json = simplejson.load(response) self.store.clear() self.store.append(['%s' % json['responseData']['translatedText'], - 'null', 'null']) + params['q'], 'null', 'null'])

     def flattr(self, sender):
             webbrowser.open("http://flattr.com/thing/121224/gtkPyglot")

}}}

Comments (3)

  1. Log in to comment