Skip to content

Commit f8e3464

Browse files
committed
Forgot to return 'None' in the s3 scheme
1 parent fa2b840 commit f8e3464

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

volatility3/framework/layers/objectstorage.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def default_open(req: urllib.request.Request) -> Optional[Any]:
3535
if req.type == "s3":
3636
object_uri = "://".join(req.full_url.split("://")[1:])
3737
return s3fs.S3FileSystem().open(object_uri)
38+
return None
3839
else:
3940
raise exceptions.LayerException("s3 requirement is missing.")
4041

0 commit comments

Comments
 (0)