mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Fix logic around checking existing video directory
This commit is contained in:
parent
fcc6e942ab
commit
0cff79e3c8
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ def verify_kodi_defaults():
|
||||||
'''
|
'''
|
||||||
node_path = xbmc.translatePath("special://profile/library/video")
|
node_path = xbmc.translatePath("special://profile/library/video")
|
||||||
|
|
||||||
if not xbmcvfs.exists(node_path):
|
if not os.path.exists(node_path):
|
||||||
try:
|
try:
|
||||||
shutil.copytree(
|
shutil.copytree(
|
||||||
src=xbmc.translatePath("special://xbmc/system/library/video"),
|
src=xbmc.translatePath("special://xbmc/system/library/video"),
|
||||||
|
|
Loading…
Reference in a new issue