diff --git a/deemix/utils/pathtemplates.py b/deemix/utils/pathtemplates.py index a4f545c..885c8cd 100644 --- a/deemix/utils/pathtemplates.py +++ b/deemix/utils/pathtemplates.py @@ -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: