From ba849449ce61259c54df3a8166a8988b5c8e3dd1 Mon Sep 17 00:00:00 2001 From: codey Date: Tue, 18 Feb 2025 14:57:05 -0500 Subject: [PATCH] fix --- endpoints/lastfm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,