mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
Fix loading if special char in path
This commit is contained in:
parent
98f4f11fc2
commit
952e94496d
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ __cache__ = xbmc.translatePath('special://temp/emby').decode('utf-8')
|
||||||
if not xbmcvfs.exists(__pcache__ + '/'):
|
if not xbmcvfs.exists(__pcache__ + '/'):
|
||||||
from resources.lib.helper.utils import copytree
|
from resources.lib.helper.utils import copytree
|
||||||
|
|
||||||
copytree(os.path.join(__base__, 'objects').decode('utf-8'), os.path.join(__pcache__, 'objects').decode('utf-8'))
|
copytree(os.path.join(__base__, 'objects'), os.path.join(__pcache__, 'objects'))
|
||||||
|
|
||||||
sys.path.insert(0, __cache__)
|
sys.path.insert(0, __cache__)
|
||||||
sys.path.insert(0, __pcache__)
|
sys.path.insert(0, __pcache__)
|
||||||
|
|
Loading…
Reference in a new issue