Set PYTHON2 global variable

This commit is contained in:
JonnyWong16 2020-04-04 07:57:51 -07:00
parent fb395fc2e9
commit 9e0153e962
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
35 changed files with 43 additions and 42 deletions

View file

@ -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