Fix removing folder with unicode filenames
https://bugs.python.org/issue3616
This commit is contained in:
1 parent
17e878a15f
commit
0319e7bb93
1 file changed
+1
-1
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user