Skip to content

Commit

Permalink
fix for empty fields, #25
Browse files Browse the repository at this point in the history
  • Loading branch information
iulica committed Sep 19, 2024
1 parent f02a517 commit 1d2ad75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mailmerge.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ def _get_field_type(cls, instr):
# For elements with no instr, otherwise this will throw an exception
if len(s) > 0:
return s[0], s[1:]
return s[0], s[1:]
return "", []

def make_data_field(
self,
Expand Down

0 comments on commit 1d2ad75

Please sign in to comment.