diff --git a/firebase/firebase.py b/firebase/firebase.py index 2e55865..f8b52e9 100644 --- a/firebase/firebase.py +++ b/firebase/firebase.py @@ -292,7 +292,7 @@ def put(self, url, name, data, params=None, headers=None, connection=None): the server, because the request will be made with ``silent`` parameter. ``data`` must be a JSONable value. """ - assert name, 'Snapshot name must be specified' + if name is None: name = '' params = params or {} headers = headers or {} endpoint = self._build_endpoint_url(url, name)