mirror of
https://github.com/lutris/lutris
synced 2024-09-19 07:41:33 +00:00
Fix encoding issue when listing games
This commit is contained in:
parent
e0ba62ac56
commit
05247cdaa4
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue