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/>.
|
||||
|
||||
from __future__ import unicode_literals
|
||||
from future.builtins import str
|
||||
from future.builtins import object
|
||||
|
||||
import arrow
|
||||
@@ -25,8 +26,8 @@ import time
|
||||
|
||||
import plexpy
|
||||
if plexpy.PYTHON2:
|
||||
import helpers
|
||||
import logger
|
||||
from helpers import cast_to_int
|
||||
else:
|
||||
from plexpy import logger
|
||||
from plexpy.helpers import cast_to_int
|
||||
|
Reference in New Issue
Block a user