diff options
-rw-r--r-- | bazarr.py | 2 | ||||
-rw-r--r-- | bazarr/libs.py | 3 | ||||
-rw-r--r-- | bazarr/main.py | 7 |
3 files changed, 7 insertions, 5 deletions
@@ -2,6 +2,8 @@ from __future__ import absolute_import from __future__ import print_function + +import bazarr.libs from six import PY3 import subprocess as sp import time diff --git a/bazarr/libs.py b/bazarr/libs.py index e838cb009..9d734eb23 100644 --- a/bazarr/libs.py +++ b/bazarr/libs.py @@ -2,12 +2,11 @@ import os import sys -from six import PY3 def set_libs(): sys.path.insert(0, os.path.join(os.path.dirname(__file__), '../libs/')) - + from six import PY3 if PY3: sys.path.insert(0, os.path.join(os.path.dirname(__file__), '../libs3/')) else: diff --git a/bazarr/main.py b/bazarr/main.py index ef8d22a6e..aa9c8f61f 100644 --- a/bazarr/main.py +++ b/bazarr/main.py @@ -2,13 +2,14 @@ bazarr_version = '0.8.2' +import gc +import sys +import libs + import six from six.moves import zip from functools import reduce -import gc -import sys -import libs import bottle import itertools import operator |