mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 17:22:56 -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
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue