mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-10 23:42:37 -07:00
Copy database path to cache and delete after importing
This commit is contained in:
parent
0f2dbf2c94
commit
5ca5f24a66
2 changed files with 12 additions and 2 deletions
|
@ -211,6 +211,9 @@ def import_tautulli_db(database=None, method=None, backup=False):
|
|||
logger.info("Tautulli Database :: Tautulli database import complete.")
|
||||
set_is_importing(False)
|
||||
|
||||
logger.info("Tautulli Database :: Deleting cached database: %s", database)
|
||||
os.remove(database)
|
||||
|
||||
|
||||
def integrity_check():
|
||||
monitor_db = MonitorDatabase()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue