Fix imports for deleting history on Python 2
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user