From 4d09925f6478a5a46b62e0603525236386c7a04a Mon Sep 17 00:00:00 2001 From: RemixDev Date: Thu, 8 Oct 2020 12:06:08 +0200 Subject: [PATCH] Fixed FeatureOptions not working --- deemix/__init__.py | 2 +- deemix/app/settings.py | 8 ++++---- setup.py | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/deemix/__init__.py b/deemix/__init__.py index ebdb4e1..2d79367 100644 --- a/deemix/__init__.py +++ b/deemix/__init__.py @@ -1,3 +1,3 @@ #!/usr/bin/env python3 -__version__ = "1.5.11" +__version__ = "1.5.12" diff --git a/deemix/app/settings.py b/deemix/app/settings.py index 3b4cba1..74dcd74 100644 --- a/deemix/app/settings.py +++ b/deemix/app/settings.py @@ -33,16 +33,16 @@ class OverwriteOption(): class FeaturesOption(): """What should I do with featured artists?""" - NO_CHANGE = 0 + NO_CHANGE = "0" """Do nothing""" - REMOVE_TITLE = 1 + REMOVE_TITLE = "1" """Remove from track title""" - REMOVE_TITLE_ALBUM = 3 + REMOVE_TITLE_ALBUM = "3" """Remove from track title and album title""" - MOVE_TITLE = 2 + MOVE_TITLE = "2" """Move to track title""" DEFAULT_SETTINGS = { diff --git a/setup.py b/setup.py index ba2ff9b..c26c0df 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ README = (HERE / "README.md").read_text() setup( name="deemix", - version="1.5.11", + version="1.5.12", description="A barebone deezer downloader library", long_description=README, long_description_content_type="text/markdown",