summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLouis Vézina <[email protected]>2019-09-28 12:38:26 -0400
committerLouis Vézina <[email protected]>2019-09-28 12:38:26 -0400
commit96f44c6a80291af74c19dc3c873e2ee10803c46a (patch)
tree0c82398684ca94be3363fa0f38af471e9b581614
parent607af5c2f5fc66166d29d1a770c8d5bda661590b (diff)
downloadbazarr-96f44c6a80291af74c19dc3c873e2ee10803c46a.tar.gz
bazarr-96f44c6a80291af74c19dc3c873e2ee10803c46a.zip
WIP
-rw-r--r--bazarr.py2
-rw-r--r--bazarr/libs.py3
-rw-r--r--bazarr/main.py7
3 files changed, 7 insertions, 5 deletions
diff --git a/bazarr.py b/bazarr.py
index acab9e88a..3f8969c17 100644
--- a/bazarr.py
+++ b/bazarr.py
@@ -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