From 09589f9603096297e2a5b318199bc47b4dfbfafc Mon Sep 17 00:00:00 2001 From: RemixDev Date: Fri, 4 Sep 2020 00:16:02 +0200 Subject: [PATCH] Fixed #39 --- deemix/__init__.py | 2 +- deemix/api/deezer.py | 4 ++-- setup.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deemix/__init__.py b/deemix/__init__.py index ca18b84..b684ebe 100644 --- a/deemix/__init__.py +++ b/deemix/__init__.py @@ -1,3 +1,3 @@ #!/usr/bin/env python3 -__version__ = "1.2.14" +__version__ = "1.2.15" diff --git a/deemix/api/deezer.py b/deemix/api/deezer.py index f5adeb4..140ef07 100755 --- a/deemix/api/deezer.py +++ b/deemix/api/deezer.py @@ -637,8 +637,8 @@ class Deezer: if len(resp['data']) > 0: return resp['data'][0]['id'] else: - return 0 - return 0 + return "0" + return "0" def clean_search_query(term): term = str(term) diff --git a/setup.py b/setup.py index 3ae6c86..b966eec 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ README = (HERE / "README.md").read_text() setup( name="deemix", - version="1.2.14", + version="1.2.15", description="A barebone deezer downloader library", long_description=README, long_description_content_type="text/markdown",