We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e04b849 commit e8b3b75Copy full SHA for e8b3b75
geonoderest/geonodeobject.py
@@ -77,7 +77,7 @@ def cmd_patch(
77
except json.decoder.JSONDecodeError as E:
78
json_decode_error_handler(str(file), E)
79
80
- if "attribute_set" in json_content:
+ if json_content is not None and "attribute_set" in json_content:
81
json_content.pop("attribute_set", None)
82
83
if fields:
0 commit comments