From 96f44c6a80291af74c19dc3c873e2ee10803c46a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Sat, 28 Sep 2019 12:38:26 -0400 Subject: [PATCH] WIP --- bazarr.py | 2 ++ bazarr/libs.py | 3 +-- bazarr/main.py | 7 ++++--- 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