summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/src/leap/soledad/client/api.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/leap/soledad/client/api.py b/client/src/leap/soledad/client/api.py
index 23f8570e..36423e39 100644
--- a/client/src/leap/soledad/client/api.py
+++ b/client/src/leap/soledad/client/api.py
@@ -347,6 +347,7 @@ class Soledad(object):
:return: A deferred.
:rtype: twisted.internet.defer.Deferred
"""
+ soledad_assert(doc is not None, "delete_doc doesn't accept None.")
return self._defer("delete_doc", doc)
def get_doc(self, doc_id, include_deleted=False):