try encoding string to prevent error on printing

This commit is contained in:
Ronald Schaten 2021-03-28 22:04:47 +02:00
parent 53614c7b78
commit d74ab7e31a

View File

@ -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)'):