mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Fix imports for deleting history on Python 2
This commit is contained in:
parent
53aa740305
commit
e5d4969917
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue