We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 092c08e commit 3282c7aCopy full SHA for 3282c7a
aws_lambda/aws_lambda.py
@@ -96,7 +96,7 @@ def init(src, minimal=False):
96
templates_path = os.path.join(os.path.dirname(os.path.abspath(__file__)),
97
"project_templates")
98
for filename in os.listdir(templates_path):
99
- if minimal and filename == 'event.json':
+ if (minimal and filename == 'event.json') or filename.endswith('.pyc'):
100
continue
101
destination = os.path.join(templates_path, filename)
102
copy(destination, src)
0 commit comments