Skip to content

Commit

Permalink
[Issue-532] 'tables' types property handling update
Browse files Browse the repository at this point in the history
  • Loading branch information
mosowiecki authored and bosd committed Nov 4, 2023
1 parent d9cd74c commit ba6aedf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/invoice2data/extract/plugins/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def extract(self, content, output):
elif field.startswith("amount"):
output[field] = self.parse_number(value)
elif field in types:
output[field] = self.template.coerce_type(output[field], types[value])
output[field] = self.coerce_type(value, types[field])
else:
output[field] = value
else:
Expand Down

0 comments on commit ba6aedf

Please sign in to comment.