File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,8 @@ def _getFile(self, id: str):
7878 art : ResponseArtifact = response # type: ignore
7979 if "file" in art ["responseBody" ]:
8080 data = self ._blobStorage .get_file (
81- art ["responseBody" ].get ("container" , self ._uploadcontainer ),
81+ art ["responseBody" ].get (
82+ "container" , self ._uploadcontainer ),
8283 art ["responseBody" ]["file" ],
8384 )
8485 if data is None :
@@ -89,7 +90,8 @@ def _getFile(self, id: str):
8990 return send_file (
9091 data ,
9192 as_attachment = True ,
92- download_name = os .path .basename (art ["responseBody" ]["file" ]),
93+ download_name = os .path .basename (
94+ art ["responseBody" ]["file" ]),
9395 mimetype = "application/octet-stream" ,
9496 )
9597 return returnError ("File not found" , StatusCode .INVALID_INPUTS )
You can’t perform that action at this time.
0 commit comments