[feedly] fix unicode warning
This commit is contained in:
parent
5bd70c564f
commit
951356a6d7
2 changed files with 2 additions and 2 deletions
|
|
@ -75,7 +75,7 @@ class FeedlyBrowser(LoginBrowser):
|
|||
@need_login
|
||||
def get_logged_categories(self):
|
||||
user_categories = list(self.preferences.go().get_categories())
|
||||
user_categories.append(Collection(['global.saved'], 'Saved'))
|
||||
user_categories.append(Collection([u'global.saved'], u'Saved'))
|
||||
return user_categories
|
||||
|
||||
def get_feeds(self, category):
|
||||
|
|
|
|||
|
|
@ -95,4 +95,4 @@ class PreferencesPage(JsonPage):
|
|||
def get_categories(self):
|
||||
for category, value in self.doc.items():
|
||||
if value in [u"shown", u"hidden"]:
|
||||
yield Collection([category])
|
||||
yield Collection([u'%s' % category], u'%s' % category.replace('global.', ''))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue