padTracks now forces padding for albums with less than 10 tracks
This fixes #14
This commit is contained in:
@ -42,6 +42,8 @@ def antiDot(string):
|
||||
|
||||
def pad(num, max, dopad=True):
|
||||
paddingsize = len(str(max))
|
||||
if paddingsize == 1:
|
||||
paddingsize = 2
|
||||
if dopad:
|
||||
return str(num).zfill(paddingsize)
|
||||
else:
|
||||
|
Reference in New Issue
Block a user