Skip to content

Commit e8b3b75

Browse files
author
Marcel Wallschlaeger
committed
[Fixes #20] add user create function
1 parent e04b849 commit e8b3b75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

geonoderest/geonodeobject.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def cmd_patch(
7777
except json.decoder.JSONDecodeError as E:
7878
json_decode_error_handler(str(file), E)
7979

80-
if "attribute_set" in json_content:
80+
if json_content is not None and "attribute_set" in json_content:
8181
json_content.pop("attribute_set", None)
8282

8383
if fields:

0 commit comments

Comments
 (0)