Fix imports for deleting history on Python 2

This commit is contained in:
JonnyWong16 2020-05-19 20:18:38 -07:00
parent 53aa740305
commit e5d4969917
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -14,6 +14,7 @@
# along with Tautulli. If not, see <http://www.gnu.org/licenses/>. # along with Tautulli. If not, see <http://www.gnu.org/licenses/>.
from __future__ import unicode_literals from __future__ import unicode_literals
from future.builtins import str
from future.builtins import object from future.builtins import object
import arrow import arrow
@ -25,8 +26,8 @@ import time
import plexpy import plexpy
if plexpy.PYTHON2: if plexpy.PYTHON2:
import helpers
import logger import logger
from helpers import cast_to_int
else: else:
from plexpy import logger from plexpy import logger
from plexpy.helpers import cast_to_int from plexpy.helpers import cast_to_int