Fixed whitespace when removing featArtists
This commit is contained in:
parent
0f92b72d0b
commit
0814a17600
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
__version__ = "2.0.14"
|
__version__ = "2.0.15"
|
||||||
USER_AGENT_HEADER = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) " \
|
USER_AGENT_HEADER = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) " \
|
||||||
"Chrome/79.0.3945.130 Safari/537.36"
|
"Chrome/79.0.3945.130 Safari/537.36"
|
||||||
VARIOUS_ARTISTS = "5080"
|
VARIOUS_ARTISTS = "5080"
|
||||||
|
|
|
@ -45,6 +45,7 @@ def removeFeatures(title):
|
||||||
if ")" in clean:
|
if ")" in clean:
|
||||||
tempTrack += clean[clean.find(")", pos + 1) + 1:]
|
tempTrack += clean[clean.find(")", pos + 1) + 1:]
|
||||||
clean = tempTrack.strip()
|
clean = tempTrack.strip()
|
||||||
|
clean = ' '.join(clean.split())
|
||||||
return clean
|
return clean
|
||||||
|
|
||||||
|
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -7,7 +7,7 @@ README = (HERE / "README.md").read_text()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="deemix",
|
name="deemix",
|
||||||
version="2.0.14",
|
version="2.0.15",
|
||||||
description="A barebone deezer downloader library",
|
description="A barebone deezer downloader library",
|
||||||
long_description=README,
|
long_description=README,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
|
|
Loading…
Reference in New Issue