Fixed overwrite padding size
This commit is contained in:
parent
050b25471f
commit
22e024af39
|
@ -1,3 +1,3 @@
|
|||
#!/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:
|
||||
paddingSize = len(str(max))
|
||||
else:
|
||||
paddingSize = 10 ** (int(settings['paddingSize']) - 1)
|
||||
paddingSize = len(str(10 ** (int(settings['paddingSize']) - 1)))
|
||||
if paddingSize == 1:
|
||||
paddingSize = 2
|
||||
if settings['padTracks']:
|
||||
|
|
Loading…
Reference in New Issue