Feat: format lot in locataire table

This commit is contained in:
Bertrand Benjamin 2023-06-27 10:22:29 +02:00
parent 020fd41eab
commit 18c8282f63
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ def join_tables(tables):
def parse_lot(string):
words = string.split(" ")
return {"Lot": words[1], "Type": " ".join(words[2:])}
return {"Lot": "{:02d}".format(int(words[1])), "Type": " ".join(words[2:])}
def join_row(table):