mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-08 10:25:08 +00:00
Small service adjustment
This commit is contained in:
parent
c3fbdf082c
commit
58e02cfbb7
2 changed files with 5 additions and 15 deletions
|
@ -14,6 +14,7 @@ import xbmcvfs
|
|||
import emby_db
|
||||
from helper.utils import delete_folder
|
||||
from helper import _, settings, window, dialog
|
||||
from objects import obj
|
||||
|
||||
#################################################################################################
|
||||
|
||||
|
@ -21,15 +22,6 @@ LOG = logging.getLogger("EMBY."+__name__)
|
|||
|
||||
#################################################################################################
|
||||
|
||||
try:
|
||||
from objects import obj
|
||||
except Exception as error:
|
||||
# clear patch
|
||||
LOG.exception(error)
|
||||
delete_folder()
|
||||
dialog("ok", heading="{emby}", line1=_(33155))
|
||||
xbmc.executebuiltin('RestartApp')
|
||||
|
||||
|
||||
class Database(object):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue