Skip to content

Commit

Permalink
LITE-29138 Fix product clone translation
Browse files Browse the repository at this point in the history
  • Loading branch information
bdjilka committed Nov 30, 2023
1 parent 0c8efe5 commit 9210f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connect/cli/plugins/shared/translation_attr_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def _collect_attributes_to_update(self, ws, translation, is_clone):
new_attrs = None
if is_clone and translation is not None:
translation_res = self._client.ns('localization').translations[translation['id']]
new_attrs = translation_res.attributes.all()
new_attrs = list(translation_res.attributes.all())
attributes = {}
for row_idx, row in enumerate(ws.iter_rows(min_row=2, values_only=True), 2):
row = AttributeRow(*row)
Expand Down

0 comments on commit 9210f8d

Please sign in to comment.