Feat: format lot in locataire table
This commit is contained in:
parent
020fd41eab
commit
18c8282f63
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user