From dc90e04fdf6325140d207e522040b0ca2fd7945e Mon Sep 17 00:00:00 2001 From: j Date: Tue, 29 Sep 2015 15:37:16 +0200 Subject: [PATCH] dont fail with unsupported files with unicode titles --- pandora_client/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pandora_client/__init__.py b/pandora_client/__init__.py index a11351c..ee18f98 100755 --- a/pandora_client/__init__.py +++ b/pandora_client/__init__.py @@ -10,7 +10,6 @@ import imp import json import math import os -import shutil import socket import sqlite3 import sys @@ -543,7 +542,7 @@ class Client(object): files = list(set(files) - set(unsupported)) print 'The following files are in an unsupported format and will not be synced:' print '\t', - print '\n\t'.join([f[len(path):] for f in unsupported]) + print '\n\t'.join([f[len(path):].encode('utf-8') for f in unsupported]) print '' ''' '''