mirror of
https://github.com/wassname/flask-cloudy.git
synced 2026-09-09 11:22:27 +08:00
Merge remote-tracking branch 'remotes/origin/patch-1'
This commit is contained in:
+1
-1
@@ -347,7 +347,7 @@ class Storage(object):
|
||||
@app.route(url, endpoint=SERVER_ENDPOINT)
|
||||
def files_server(object_name):
|
||||
obj = self.get(object_name)
|
||||
if obj:
|
||||
if obj is not None:
|
||||
dl = request.args.get("dl")
|
||||
name = request.args.get("name", obj.name)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user