diff --git a/endpoints/lastfm.py b/endpoints/lastfm.py index bcd967a..94445a0 100644 --- a/endpoints/lastfm.py +++ b/endpoints/lastfm.py @@ -5,7 +5,7 @@ from fastapi import FastAPI from fastapi.responses import JSONResponse from .constructors import ValidArtistSearchRequest, ValidAlbumDetailRequest,\ ValidTrackInfoRequest, LastFMException - + class LastFM(FastAPI): """Last.FM Endpoints""" def __init__(self, app: FastAPI, @@ -13,7 +13,7 @@ class LastFM(FastAPI): self.app: FastAPI = app self.util = util self.constants = constants - self.lastfm = importlib.import_module("lastfm_wrapper").LastFM() + self.lastfm = importlib.import_module("utils.lastfm_wrapper").LastFM() self.endpoints: dict = { "lastfm/get_artist_by_name": self.artist_by_name_handler,