diff --git a/lyricsgenius/__init__.py b/lyricsgenius/__init__.py index 2f97eb4..eac9a87 100644 --- a/lyricsgenius/__init__.py +++ b/lyricsgenius/__init__.py @@ -14,4 +14,4 @@ __url__ = 'https://github.com/johnwmillr/LyricsGenius' __description__ = 'A Python wrapper around the Genius API' __license__ = 'MIT' -__version__ = '3.1.1' +__version__ = '3.1.2' diff --git a/lyricsgenius/types/album.py b/lyricsgenius/types/album.py index b6e8303..805f1d0 100644 --- a/lyricsgenius/types/album.py +++ b/lyricsgenius/types/album.py @@ -1,7 +1,6 @@ from ..utils import convert_to_datetime from .base import BaseEntity from .artist import Artist -from .song import Song class Album(BaseEntity): @@ -71,6 +70,7 @@ class Track(BaseEntity): """docstring for Track""" def __init__(self, client, json_dict, lyrics): + from .song import Song body = json_dict super().__init__(body['song']['id']) self._body = body