dropbox unicode error

This commit is contained in:
Rob Weber 2014-11-10 12:40:29 -06:00
parent 687e830bcd
commit e803573340
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 0.5.9 Version 0.5.9
fixed dropbox unicode error
create restored version of guisettings for easy local restoration create restored version of guisettings for easy local restoration
Version 0.5.8.7 Version 0.5.8.7

View File

@ -84,7 +84,7 @@ class XbmcBackup:
for aFile in files: for aFile in files:
file_ext = aFile.split('.')[-1] file_ext = aFile.split('.')[-1]
folderName = aFile.split('.')[0] folderName = utils.encode(aFile.split('.')[0])
if(file_ext == 'zip' and (len(folderName) == 12 or len(folderName) == 8) and str.isdigit(folderName)): if(file_ext == 'zip' and (len(folderName) == 12 or len(folderName) == 8) and str.isdigit(folderName)):