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

@ -33,7 +33,7 @@ import threading
import traceback
import plexpy
if plexpy.PYTHON_VERSION < 3:
if plexpy.PYTHON2:
from helpers import is_public_ip
from config import _BLACKLIST_KEYS, _WHITELIST_KEYS
else: