Skip to content

Commit

Permalink
fix(window): prevent SegmentationFault
Browse files Browse the repository at this point in the history
  • Loading branch information
abrichr authored Jul 3, 2023
1 parent a50b08c commit cf0fc0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openadapt/window/_macos.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ def deepconvert_objc(object):
value = dict(object)
for k, v in value.items():
value[k] = deepconvert_objc(v)
value = atomacos._converter.Converter().convert_value(value)
if value:
value = atomacos._converter.Converter().convert_value(value)
return value


Expand Down

0 comments on commit cf0fc0b

Please sign in to comment.