diff options
author | Louis Vézina <[email protected]> | 2019-09-28 12:38:26 -0400 |
---|---|---|
committer | Louis Vézina <[email protected]> | 2019-09-28 12:38:26 -0400 |
commit | 96f44c6a80291af74c19dc3c873e2ee10803c46a (patch) | |
tree | 0c82398684ca94be3363fa0f38af471e9b581614 | |
parent | 607af5c2f5fc66166d29d1a770c8d5bda661590b (diff) | |
download | bazarr-96f44c6a80291af74c19dc3c873e2ee10803c46a.tar.gz bazarr-96f44c6a80291af74c19dc3c873e2ee10803c46a.zip |
WIP
-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 |