Skip to content

Commit

Permalink
Fix url
Browse files Browse the repository at this point in the history
  • Loading branch information
mayhem committed May 15, 2024
1 parent 0f96c1e commit 0faa42d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion troi/patches/lb_radio_classes/playlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def outputs(self):
def read(self, entities):

# Fetch the playlist
r = requests.get(f"https://test-api.listenbrainz.org/1/playlist/{self.mbid}")
r = requests.get(f"https://api.listenbrainz.org/1/playlist/{self.mbid}")
if r.status_code == 404:
raise RuntimeError(f"Cannot find playlist {self.mbid}.")
if r.status_code != 200:
Expand Down

0 comments on commit 0faa42d

Please sign in to comment.