try encoding string to prevent error on printing
This commit is contained in:
parent
53614c7b78
commit
d74ab7e31a
2
addon.py
2
addon.py
@ -129,7 +129,7 @@ if __name__ == '__main__':
|
||||
program = conduct_program(program_file, feature)
|
||||
print('=== playlist')
|
||||
for entry in program:
|
||||
print(" * [%s] -- %s" % (entry['type'], entry['data']))
|
||||
print(" * [%s] -- %s" % (entry['type'], entry['data'].encode('utf-8')))
|
||||
|
||||
# close modal movie information window
|
||||
if xbmc.getCondVisibility('Window.IsVisible(MovieInformation)'):
|
||||
|
Loading…
Reference in New Issue
Block a user