From e3b61a56c8a42f28ea335e1ac54ba0d3621ba5d6 Mon Sep 17 00:00:00 2001 From: Nimish Shah Date: Mon, 20 Jul 2020 23:48:19 +0530 Subject: [PATCH] fix storage get_url bug --- pyrebase/pyrebase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrebase/pyrebase.py b/pyrebase/pyrebase.py index bc1fc3e..c5bb73b 100644 --- a/pyrebase/pyrebase.py +++ b/pyrebase/pyrebase.py @@ -426,7 +426,7 @@ def download(self, filename, token=None): for chunk in r: f.write(chunk) - def get_url(self, token): + def get_url(self, token=None): path = self.path self.path = None if path.startswith('/'):