mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -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
|
@ -29,10 +29,16 @@ from urllib.parse import urlencode
|
|||
import cherrypy
|
||||
|
||||
import plexpy
|
||||
from plexpy import logger
|
||||
from plexpy import webauth
|
||||
from plexpy.helpers import create_https_certificates
|
||||
from plexpy.webserve import WebInterface
|
||||
if plexpy.PYTHON_VERSION < 3:
|
||||
import logger
|
||||
import webauth
|
||||
from helpers import create_https_certificates
|
||||
from webserve import WebInterface
|
||||
else:
|
||||
from plexpy import logger
|
||||
from plexpy import webauth
|
||||
from plexpy.helpers import create_https_certificates
|
||||
from plexpy.webserve import WebInterface
|
||||
|
||||
|
||||
def start():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue