mirror of https://github.com/papermerge/mglib
fix minor bug
parent
7ddb02dcb5
commit
4a7099a16b
|
@ -199,7 +199,7 @@ class PagePath:
|
||||||
fmt_num = "{num:d}"
|
fmt_num = "{num:d}"
|
||||||
elif self.page_count > 9 and self.page_count < 100:
|
elif self.page_count > 9 and self.page_count < 100:
|
||||||
fmt_num = "{num:02d}"
|
fmt_num = "{num:02d}"
|
||||||
elif self.page_count > 100:
|
elif self.page_count >= 100:
|
||||||
fmt_num = "{num:003d}"
|
fmt_num = "{num:003d}"
|
||||||
|
|
||||||
return fmt_num.format(
|
return fmt_num.format(
|
||||||
|
|
Loading…
Reference in New Issue