Skip to content

Commit a2639ce

Browse files
committed
updated syntax for sharing item
1 parent 8567e78 commit a2639ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

update_items.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def _stage_and_upload_item(self, entry, share_after_upload=True):
174174
runtime_stamp=runtime_stamp,
175175
thumbnail=entry['thumbnail'])
176176
if share_after_upload:
177-
item.share(everyone=True)
177+
item.sharing.sharing_level = "EVERYONE"
178178
item.protect()
179179
if categories:
180180
self._assign_categories_to_item(item, categories)

0 commit comments

Comments
 (0)