Skip to content

Commit

Permalink
Changed import order to avoid "ImportError"
Browse files Browse the repository at this point in the history
In addition, the .gitlab-ci.yml was changed so not all updates are installed
  • Loading branch information
Javinator9889 committed Feb 12, 2020
1 parent 99342f1 commit d217b96
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -110,3 +110,5 @@ keys/
*.m4a
*.mp3
*.ogg
*.jpg
*.png
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Expand Up @@ -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/
Expand Down
24 changes: 12 additions & 12 deletions YouTubeMDBot/__init__.py
Expand Up @@ -13,6 +13,14 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from .logging_utils import LoggingHandler
from .logging_utils import setup_logging

from .constants import *

from .errors import EmptyBodyError
from .errors import FinishedException

from .api import YouTubeAPI
from .api import YouTubeVideoData

Expand All @@ -24,24 +32,16 @@

from .multiprocess import ThreadPoolBase

from .commands import StartHandler

from .constants import *

from .decorators import restricted
from .decorators import send_action

from .errors import EmptyBodyError
from .errors import FinishedException
from .commands import StartHandler

from .downloader import MultipleYouTubeDownloader
from .downloader import YouTubeDownloader
from .utils import get_yt_video_id

from .logging_utils import LoggingHandler
from .logging_utils import setup_logging
from .downloader import YouTubeDownloader
from .downloader import MultipleYouTubeDownloader

from .metadata import AudioMetadata
from .metadata import MetadataIdentifier
from .metadata import YouTubeMetadataIdentifier

from .utils import get_yt_video_id

0 comments on commit d217b96

Please sign in to comment.