From b3610913e22378140db2e558004d269f02fd6c59 Mon Sep 17 00:00:00 2001 From: nineven Date: Thu, 7 May 2020 14:36:40 +0800 Subject: [PATCH] fix a bug --- fir_ser/api/utils/storage/localApi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fir_ser/api/utils/storage/localApi.py b/fir_ser/api/utils/storage/localApi.py index 6f85fcb..2a803ee 100644 --- a/fir_ser/api/utils/storage/localApi.py +++ b/fir_ser/api/utils/storage/localApi.py @@ -25,7 +25,7 @@ class LocalStorage(object): uri='http://' if self.is_https: uri='https://' - download_url = uri+ base_url + "?token=" + dtoken.make_token(name,expires,force_new) + download_url = uri+ base_url + "?token=" + dtoken.make_token(name,expires,force_new=force_new) if ftype: download_url = download_url + '&ftype=' + ftype return download_url