mirror of
https://github.com/aborelis/ASN-Label-Generator.git
synced 2026-03-14 08:33:28 +00:00
Fix filename generation logic in asn-gen.py
This commit is contained in:
parent
75e39bf8a3
commit
484b0c698e
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ def gen_filename(parm):
|
|||
return '-'.join(['label',
|
||||
str(parm["labeltype"]), parm["prefix"],
|
||||
str(parm["first_asn"]).zfill(parm["num_digits"]),
|
||||
str(parm["first_asn"] + parm["number"]).zfill(parm["num_digits"])
|
||||
str(parm["first_asn"] + parm["number"] - 1).zfill(parm["num_digits"])
|
||||
])+'.pdf'
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue