mirror of
https://gitlab.com/RemixDev/deemix-py.git
synced 2024-12-29 11:06:14 +00:00
Fixed overwrite padding size
This commit is contained in:
parent
050b25471f
commit
22e024af39
|
@ -1,3 +1,3 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
__version__ = "1.5.4"
|
__version__ = "1.5.5"
|
||||||
|
|
|
@ -55,7 +55,7 @@ def pad(num, max, settings):
|
||||||
if int(settings['paddingSize']) == 0:
|
if int(settings['paddingSize']) == 0:
|
||||||
paddingSize = len(str(max))
|
paddingSize = len(str(max))
|
||||||
else:
|
else:
|
||||||
paddingSize = 10 ** (int(settings['paddingSize']) - 1)
|
paddingSize = len(str(10 ** (int(settings['paddingSize']) - 1)))
|
||||||
if paddingSize == 1:
|
if paddingSize == 1:
|
||||||
paddingSize = 2
|
paddingSize = 2
|
||||||
if settings['padTracks']:
|
if settings['padTracks']:
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -7,7 +7,7 @@ README = (HERE / "README.md").read_text()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="deemix",
|
name="deemix",
|
||||||
version="1.5.4",
|
version="1.5.5",
|
||||||
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 a new issue