Remove helper bool check in database import status

This commit is contained in:
JonnyWong16 2020-07-15 21:06:28 -07:00
parent b9422312f3
commit 01c56ef280
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -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):