mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-09 01:36:13 +00:00
Fix tests
This commit is contained in:
parent
53c887d354
commit
390c1d5de8
4 changed files with 9 additions and 7 deletions
|
@ -15,7 +15,7 @@ from .. import client
|
|||
from ..database import reset, get_sync, Database, jellyfin_db, get_credentials
|
||||
from ..objects import Objects, Actions
|
||||
from ..helper import translate, event, settings, window, dialog, api, JSONRPC, LazyLogger
|
||||
from ..helper.utils import JsonDebugPrinter, translate_path
|
||||
from ..helper.utils import JsonDebugPrinter, translate_path, kodi_version
|
||||
from ..jellyfin import Jellyfin
|
||||
|
||||
#################################################################################################
|
||||
|
@ -874,7 +874,7 @@ def backup():
|
|||
from ..helper.utils import delete_folder, copytree
|
||||
|
||||
path = settings('backupPath')
|
||||
folder_name = "Kodi%s.%s" % (xbmc.getInfoLabel('System.BuildVersion')[:2], xbmc.getInfoLabel('System.Date(dd-mm-yy)'))
|
||||
folder_name = "Kodi%s.%s" % (kodi_version(), xbmc.getInfoLabel('System.Date(dd-mm-yy)'))
|
||||
folder_name = dialog("input", heading=translate(33089), defaultt=folder_name)
|
||||
|
||||
if not folder_name:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue