Skip to content

Commit 6f7953b

Browse files
authored
Merge pull request #73 from epsylabs/feature/fixes
Fixes
2 parents 2614f28 + 8fd9c20 commit 6f7953b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

serverless/aws/functions/generic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def __init__(
6666
self.iamRoleStatementsName = self.iamRoleStatements.role
6767
self.iamRoleStatementsInherit = True
6868

69-
configured = list(filter(lambda x: x.get("Ref") == "PythonRequirementsLambdaLayer", layers or []))
69+
configured = list(filter(lambda x: type(x) is dict and x.get("Ref") == "PythonRequirementsLambdaLayer", layers or []))
7070
if (
7171
self._service.plugins.get(PythonRequirements)
7272
and self._service.plugins.get(PythonRequirements).layer

0 commit comments

Comments
 (0)