From 0814a17600c9807119f04b256e80ff5866fac04b Mon Sep 17 00:00:00 2001 From: RemixDev Date: Mon, 1 Feb 2021 12:33:40 +0100 Subject: [PATCH] Fixed whitespace when removing featArtists --- deemix/__init__.py | 2 +- deemix/utils/__init__.py | 1 + setup.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/deemix/__init__.py b/deemix/__init__.py index 54ce93e..8adfab8 100644 --- a/deemix/__init__.py +++ b/deemix/__init__.py @@ -1,6 +1,6 @@ #!/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) " \ "Chrome/79.0.3945.130 Safari/537.36" VARIOUS_ARTISTS = "5080" diff --git a/deemix/utils/__init__.py b/deemix/utils/__init__.py index 180f2ab..44a6f26 100644 --- a/deemix/utils/__init__.py +++ b/deemix/utils/__init__.py @@ -45,6 +45,7 @@ def removeFeatures(title): if ")" in clean: tempTrack += clean[clean.find(")", pos + 1) + 1:] clean = tempTrack.strip() + clean = ' '.join(clean.split()) return clean diff --git a/setup.py b/setup.py index bfd62b5..1eb0187 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ README = (HERE / "README.md").read_text() setup( name="deemix", - version="2.0.14", + version="2.0.15", description="A barebone deezer downloader library", long_description=README, long_description_content_type="text/markdown",