Fix encoding issue when listing games

This commit is contained in:
Mathieu Comandon 2013-12-08 21:02:24 +01:00
parent e0ba62ac56
commit 05247cdaa4

View file

@ -84,12 +84,12 @@ if options.debug:
if options.list_games:
for game in get_games():
print "{:<30} | {:<30} | {:<15} | {:<64}".format(
print u"{:<30} | {:<30} | {:<15} | {:<64}".format(
game['name'],
game['slug'],
game['runner'],
game['directory']
)
game['directory'] or '-'
).encode('utf-8')
exit()
if options.list_steam:
from lutris.runners import winesteam