Skip to content

Commit

Permalink
fix UnicodeDecodeError: 'ascii'
Browse files Browse the repository at this point in the history
  • Loading branch information
luizoti committed Jan 9, 2021
1 parent 5851995 commit 5d1931e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/lib/menus/synced.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ def view(self):
xbmcgui.Dialog().ok(utils.ADDON_NAME, STR_NO_SYNCED_DIRS)
return
lines = [
'[B]%s[/B] - %s - [I]%s[/I]' % (x['label'], x.localize_type(), x['dir'])
'[B]%s[/B] - %s - [I]%s[/I]' % (x['label'].decode('utf-8'), x.localize_type(), x['dir'])
for x in synced_dirs
]
lines += [STR_UPDATE_ALL, STR_UPDATE_MOVIES, STR_UPDATE_TV_SHOWS, STR_REMOVE_ALL, STR_BACK]
Expand Down

0 comments on commit 5d1931e

Please sign in to comment.