mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Set PYTHON2 global variable
This commit is contained in:
parent
fb395fc2e9
commit
9e0153e962
35 changed files with 43 additions and 42 deletions
|
@ -25,7 +25,7 @@ from __future__ import unicode_literals
|
|||
from future.moves.urllib.request import FancyURLopener
|
||||
|
||||
import plexpy
|
||||
if plexpy.PYTHON_VERSION < 3:
|
||||
if plexpy.PYTHON2:
|
||||
from common import USER_AGENT
|
||||
else:
|
||||
from plexpy.common import USER_AGENT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue