mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 15:56:07 -07:00
Only use form data if uploading a database file
This commit is contained in:
parent
12effd643f
commit
8c7476a670
3 changed files with 39 additions and 24 deletions
|
@ -59,7 +59,7 @@ def validate_database(database=None):
|
|||
return 'success'
|
||||
|
||||
|
||||
def import_tautulli_db(database=None, method=None, backup=True):
|
||||
def import_tautulli_db(database=None, method=None, backup=False):
|
||||
db_validate = validate_database(database=database)
|
||||
if not db_validate == 'success':
|
||||
logger.error("Tautulli Database :: Failed to import Tautulli database: %s", db_validate)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue