diff options
-rw-r--r-- | src/etcd/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etcd/client.py b/src/etcd/client.py index 516e335..03e6745 100644 --- a/src/etcd/client.py +++ b/src/etcd/client.py @@ -247,7 +247,7 @@ class Client(object): if value is not None: params['value'] = value - if ttl: + if ttl is not None: params['ttl'] = ttl if dir: |