mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Skip importing temporary sessions table
This commit is contained in:
parent
33d5aca6d4
commit
e698bcb375
1 changed files with 4 additions and 0 deletions
|
@ -87,6 +87,10 @@ def import_tautulli_db(database=None, method=None, backup=True):
|
|||
'WHERE type = "table" AND name NOT LIKE "sqlite_%"')
|
||||
for table in tables:
|
||||
table_name = table['name']
|
||||
if table_name == 'sessions':
|
||||
# Skip temporary sessions table
|
||||
continue
|
||||
|
||||
logger.info("Tautulli Database :: Importing database table '%s'", table_name)
|
||||
|
||||
if method == 'overwrite':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue