mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Fix imports for Python 2
This commit is contained in:
parent
2ce5194156
commit
078685a2a3
36 changed files with 488 additions and 207 deletions
|
@ -35,10 +35,16 @@ from hashing_passwords import check_hash
|
|||
import jwt
|
||||
|
||||
import plexpy
|
||||
from plexpy import logger
|
||||
from plexpy.database import MonitorDatabase
|
||||
from plexpy.users import Users, refresh_users
|
||||
from plexpy.plextv import PlexTV
|
||||
if plexpy.PYTHON_VERSION < 3:
|
||||
import logger
|
||||
from database import MonitorDatabase
|
||||
from users import Users, refresh_users
|
||||
from plextv import PlexTV
|
||||
else:
|
||||
from plexpy import logger
|
||||
from plexpy.database import MonitorDatabase
|
||||
from plexpy.users import Users, refresh_users
|
||||
from plexpy.plextv import PlexTV
|
||||
|
||||
|
||||
JWT_ALGORITHM = 'HS256'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue