dont fail with unsupported files with unicode titles
This commit is contained in:
parent
8d83ec760d
commit
dc90e04fdf
1 changed files with 1 additions and 2 deletions
|
@ -10,7 +10,6 @@ import imp
|
||||||
import json
|
import json
|
||||||
import math
|
import math
|
||||||
import os
|
import os
|
||||||
import shutil
|
|
||||||
import socket
|
import socket
|
||||||
import sqlite3
|
import sqlite3
|
||||||
import sys
|
import sys
|
||||||
|
@ -543,7 +542,7 @@ class Client(object):
|
||||||
files = list(set(files) - set(unsupported))
|
files = list(set(files) - set(unsupported))
|
||||||
print 'The following files are in an unsupported format and will not be synced:'
|
print 'The following files are in an unsupported format and will not be synced:'
|
||||||
print '\t',
|
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 ''
|
print ''
|
||||||
'''
|
'''
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in a new issue