mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-13 16:52:58 -07:00
Some APIv2 cleanup
This commit is contained in:
parent
8f7dd2df6a
commit
91a5529438
3 changed files with 16 additions and 21 deletions
|
@ -257,7 +257,7 @@ class API2:
|
|||
""" Query the db with raw sql, makes backup of
|
||||
the db if the backup is older then 24h
|
||||
"""
|
||||
if not query:
|
||||
if not plexpy.CONFIG.API_SQL or not query:
|
||||
return
|
||||
|
||||
# allow the user to shoot them self
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue