Skip to content

Commit

Permalink
Catch missing currency setting from supplier
Browse files Browse the repository at this point in the history
  • Loading branch information
eeintech committed Jan 16, 2024
1 parent 3632d03 commit bf96c94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kintree/gui/views/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ def run_search(self, e):
# and pricing
if part_supplier_info.get('pricing', None):
self.data['pricing'] = part_supplier_info['pricing']
self.data['currency'] = part_supplier_info['currency']
self.data['currency'] = part_supplier_info.get('currency', None)

# Add to data buffer
self.push_data()
Expand Down

0 comments on commit bf96c94

Please sign in to comment.