Skip to content

Commit

Permalink
Merge pull request #226 from cloudblue/lite-29138-clone-fail
Browse files Browse the repository at this point in the history
LITE-29138 Fix product clone translation
  • Loading branch information
bdjilka authored Dec 1, 2023
2 parents 0c8efe5 + 9210f8d commit 6ecdaba
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 6ecdaba

Please sign in to comment.