From adf0e72ab8c3254a736893f6ddb9d0b15107d650 Mon Sep 17 00:00:00 2001 From: Javinator9889 Date: Wed, 12 Feb 2020 19:16:09 +0100 Subject: [PATCH] Changed import order to avoid "ImportError" In addition, the .gitlab-ci.yml was changed so not all updates are installed --- .gitlab-ci.yml | 2 +- YouTubeMDBot/__init__.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index de0f81b..7e1fb62 100755 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,7 @@ cache: before_script: - python -V # Print out python version for debugging - apt update - - apt install -y libchromaprint-tools ffmpeg --install-recommends + - apt install -y libchromaprint-tools ffmpeg - git clone https://github.com/beetbox/pyacoustid.git && cd pyacoustid - python setup.py install - cd .. && rm -rf pyacoustid/ diff --git a/YouTubeMDBot/__init__.py b/YouTubeMDBot/__init__.py index 9111ff0..e47ad58 100755 --- a/YouTubeMDBot/__init__.py +++ b/YouTubeMDBot/__init__.py @@ -13,6 +13,9 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see . +from .errors import EmptyBodyError +from .errors import FinishedException + from .api import YouTubeAPI from .api import YouTubeVideoData @@ -31,9 +34,6 @@ from .decorators import restricted from .decorators import send_action -from .errors import EmptyBodyError -from .errors import FinishedException - from .downloader import MultipleYouTubeDownloader from .downloader import YouTubeDownloader