dont fail with unsupported files with unicode titles

This commit is contained in:
j 2015-09-29 15:37:16 +02:00
parent 8d83ec760d
commit dc90e04fdf

View file

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