Only use form data if uploading a database file

This commit is contained in:
JonnyWong16 2020-05-03 17:49:10 -07:00
parent 12effd643f
commit 8c7476a670
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
3 changed files with 39 additions and 24 deletions

View file

@ -3742,7 +3742,7 @@ class WebInterface(object):
@cherrypy.tools.json_out()
@requireAuth(member_of("admin"))
@addtoapi()
def import_database(self, app=None, database_file=None, database_path=None, method=None, backup=True,
def import_database(self, app=None, database_file=None, database_path=None, method=None, backup=False,
table_name=None, import_ignore_interval=0, **kwargs):
""" Import a Tautulli, PlexWatch, or Plexivity database into Tautulli.