~ubuntu-branches/ubuntu/precise/gwibber-service-sohu/precise

« back to all changes in this revision

Viewing changes to gtk/sohu/__init__.py

  • Committer: Package Import Robot
  • Author(s): Ken VanDine
  • Date: 2012-04-20 11:14:14 UTC
  • Revision ID: package-import@ubuntu.com-20120420111414-2xjpfpiiutk2q48t
Tags: 0.8.1-0ubuntu6
* debian/patches/lp959757.patch
  - removed last import of gnomekeyring and make sure username is
    utf-8 (LP: #959757)

Show diffs side-by-side

added added

removed removed

Lines of Context:
141
141
 
142
142
      account_data = json.loads(urllib2.urlopen(apireq.to_url()).read())
143
143
 
144
 
      self.account["username"] = account_data["screen_name"]
 
144
      self.account["username"] = account_data["screen_name"].encode("utf-8")
145
145
      self.account["user_id"] = account_data["id"]
146
146
 
147
147
      if isinstance(account_data, dict):