From 4451ec7c298f23f6c1df6254cf3c4b4af4a5e372 Mon Sep 17 00:00:00 2001 From: "matthias@arch" Date: Wed, 29 Sep 2021 16:43:01 +0200 Subject: [PATCH] Fixed bug with removing "a" and "the" in artist --- nicole/nicole.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nicole/nicole.py b/nicole/nicole.py index 60bc8fc..faea3c1 100644 --- a/nicole/nicole.py +++ b/nicole/nicole.py @@ -92,7 +92,7 @@ class Nicole: # remove 'a' or 'the' from the artist if artist[0:1] == "a ": artist = artist[2:] - elif artist[0:3] == "the ": + elif artist[0:4] == "the ": artist = artist[4:] # remove anything in square bracketrs (eg [Explicit])