Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasDelsart committed Nov 4, 2024
1 parent b94e15b commit b457bec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tgtg_scanner/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,11 @@ def convert_raw_delivery_item(self, raw_delivery_item: dict, mapping: dict) -> I

# Update item data keys based on the mapping
for key, value in item_data.items():
new_key = mapping.get(key, key)
modified_item_data[new_key] = value
new_key = mapping.get(key, key)
modified_item_data[new_key] = value

# Flattening the original data and integrating the modified item data
flattened_data = {**raw_delivery_item}
flattened_data = {**raw_delivery_item}
flattened_data.update(modified_item_data)

return Item(flattened_data, self.location, self.config.locale)
Expand Down

0 comments on commit b457bec

Please sign in to comment.