From a4eda99a4ab9dcadb25cd8d225120019f852c0c6 Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Fri, 10 Apr 2020 14:44:14 -0700 Subject: [PATCH] Update API docs to mention enabling api_sql while Tautulli is shut down --- API.md | 2 +- plexpy/api2.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/API.md b/API.md index 0d5942db..a84647db 100644 --- a/API.md +++ b/API.md @@ -2774,7 +2774,7 @@ Returns: ### sql Query the Tautulli database with raw SQL. Automatically makes a backup of the database if the latest backup is older then 24h. `api_sql` must be -manually enabled in the config file. +manually enabled in the config file while Tautulli is shut down. ``` Required parameters: diff --git a/plexpy/api2.py b/plexpy/api2.py index 7a50f803..eb3ced99 100644 --- a/plexpy/api2.py +++ b/plexpy/api2.py @@ -292,7 +292,7 @@ class API2: def sql(self, query=''): """ Query the Tautulli database with raw SQL. Automatically makes a backup of the database if the latest backup is older then 24h. `api_sql` must be - manually enabled in the config file. + manually enabled in the config file while Tautulli is shut down. ``` Required parameters: