diff options
author | Louis Vézina <[email protected]> | 2019-09-23 16:21:24 -0400 |
---|---|---|
committer | Louis Vézina <[email protected]> | 2019-09-23 16:21:24 -0400 |
commit | 2b2fd4e8d7d69db132be57a81ab3703147f9c5a5 (patch) | |
tree | e06c36e1e8ec31562323f6c49706330e4c3dcc78 /libs/subscene_api | |
parent | fb4b152c5bd58d65055255d730438af9295ad55b (diff) | |
download | bazarr-2b2fd4e8d7d69db132be57a81ab3703147f9c5a5.tar.gz bazarr-2b2fd4e8d7d69db132be57a81ab3703147f9c5a5.zip |
WIP
Diffstat (limited to 'libs/subscene_api')
-rw-r--r-- | libs/subscene_api/subscene.py | 8 |
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 |