summaryrefslogtreecommitdiffhomepage
path: root/libs/subscene_api
diff options
context:
space:
mode:
authorLouis Vézina <[email protected]>2019-09-23 16:21:24 -0400
committerLouis Vézina <[email protected]>2019-09-23 16:21:24 -0400
commit2b2fd4e8d7d69db132be57a81ab3703147f9c5a5 (patch)
treee06c36e1e8ec31562323f6c49706330e4c3dcc78 /libs/subscene_api
parentfb4b152c5bd58d65055255d730438af9295ad55b (diff)
downloadbazarr-2b2fd4e8d7d69db132be57a81ab3703147f9c5a5.tar.gz
bazarr-2b2fd4e8d7d69db132be57a81ab3703147f9c5a5.zip
WIP
Diffstat (limited to 'libs/subscene_api')
-rw-r--r--libs/subscene_api/subscene.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/libs/subscene_api/subscene.py b/libs/subscene_api/subscene.py
index 099370a48..633b72f36 100644
--- a/libs/subscene_api/subscene.py
+++ b/libs/subscene_api/subscene.py
@@ -26,7 +26,13 @@ this script that does the job by parsing the website"s pages.
# imports
import re
-import enum
+from six import PY3
+
+if PY3:
+ import enum
+else:
+ import enum2 as enum
+
import sys
import requests
import time