mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-10 23:42:37 -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/>.
|
||||
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue