diff --git a/functions.py b/functions.py index b4aa9da..9c4105c 100644 --- a/functions.py +++ b/functions.py @@ -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: