summaryrefslogtreecommitdiff
path: root/jsonpatch.py
diff options
context:
space:
mode:
Diffstat (limited to 'jsonpatch.py')
-rw-r--r--jsonpatch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonpatch.py b/jsonpatch.py
index 5c61a0d..eab6df3 100644
--- a/jsonpatch.py
+++ b/jsonpatch.py
@@ -359,7 +359,7 @@ class AddOperation(PatchOperation):
def apply(self, obj):
value = self.operation["value"]
- subobj, part = self.pointer.to_last(obj, None)
+ subobj, part = self.pointer.to_last(obj)
if isinstance(subobj, list):