Merge pull request #9 from srgl/fix-rmtree-unicode
Fix removing folder with unicode filenamespull/1/head
commit
ed8e9b201c
|
@ -80,7 +80,7 @@ def clearStorage(userStorageDirectory):
|
|||
shutil.move(saved, saved_temp)
|
||||
saved_bool = True
|
||||
|
||||
shutil.rmtree(userStorageDirectory, ignore_errors=True)
|
||||
shutil.rmtree(userStorageDirectory.encode('utf-8'), ignore_errors=True)
|
||||
xbmcvfs.mkdir(userStorageDirectory)
|
||||
|
||||
if torrents_bool:
|
||||
|
|
Loading…
Reference in New Issue