mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Remove helper bool check in database import status
This commit is contained in:
parent
b9422312f3
commit
01c56ef280
1 changed files with 3 additions and 3 deletions
|
@ -27,10 +27,10 @@ import time
|
|||
import plexpy
|
||||
if plexpy.PYTHON2:
|
||||
import logger
|
||||
from helpers import cast_to_int, bool_true, chunk
|
||||
from helpers import cast_to_int, chunk
|
||||
else:
|
||||
from plexpy import logger
|
||||
from plexpy.helpers import cast_to_int, bool_true, chunk
|
||||
from plexpy.helpers import cast_to_int, chunk
|
||||
|
||||
|
||||
FILENAME = "tautulli.db"
|
||||
|
@ -41,7 +41,7 @@ IS_IMPORTING = False
|
|||
|
||||
def set_is_importing(value):
|
||||
global IS_IMPORTING
|
||||
IS_IMPORTING = bool_true(value)
|
||||
IS_IMPORTING = value
|
||||
|
||||
|
||||
def validate_database(database=None):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue