Skip to content

Commit d004fe8

Browse files
author
KP
committed
re-enable clearing a thumbnail by setting 'image' to None #18786
1 parent da80777 commit d004fe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shotgun_api3/shotgun.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ def update(self, entity_type, entity_id, data):
609609
data = copy.deepcopy(data)
610610

611611
upload_image = None
612-
if 'image' in data:
612+
if 'image' in data and data['image'] is not None:
613613
upload_image = data.pop('image')
614614

615615
upload_filmstrip_image = None

0 commit comments

Comments
 (0)