Skip to content

Commit

Permalink
add:auto increment feature for suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
shivamgutgutia committed Dec 23, 2023
1 parent 9b8ac78 commit bdb9772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/vcfGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def generateVcard(row, headers, vCards):
family=row.get(headers.get("Last Name",""),""),
given=row.get(headers.get("First Name",""),""),
additional=row.get(headers.get("Middle Name",""),""),
suffix=request.form.get("Suffix",""),
suffix=request.form.get("Suffix","")+" "+str(row.name+1) if request.form.get("autoIncrement","") == "true" else request.form.get("Prefix",""),
prefix=request.form.get("Prefix","")
)

Expand Down

0 comments on commit bdb9772

Please sign in to comment.