summaryrefslogtreecommitdiff
path: root/src/etcd/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/etcd/client.py')
-rw-r--r--src/etcd/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etcd/client.py b/src/etcd/client.py
index 726963a..7d81fc2 100644
--- a/src/etcd/client.py
+++ b/src/etcd/client.py
@@ -241,7 +241,7 @@ class Client(object):
"""
key = self._sanitize_key(key)
params = {}
- if value:
+ if value is not None:
params['value'] = value
if ttl: