mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-24 00:41:38 +00:00
move DB reset function to the databse file
use the new DB connection context for all DB reset actions
This commit is contained in:
parent
4701041d99
commit
d3ce04ab10
4 changed files with 102 additions and 98 deletions
|
@ -23,6 +23,7 @@ import entrypoint
|
|||
import loghandler
|
||||
from utils import window, dialog, language as lang
|
||||
from ga_client import GoogleAnalytics
|
||||
import database
|
||||
|
||||
#################################################################################################
|
||||
|
||||
|
@ -80,7 +81,7 @@ class Main(object):
|
|||
import utils
|
||||
modes = {
|
||||
|
||||
'reset': utils.reset,
|
||||
'reset': database.db_reset,
|
||||
'resetauth': entrypoint.resetAuth,
|
||||
'play': entrypoint.doPlayback,
|
||||
'passwords': utils.passwordsXML,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue