Skip to content

Commit 3282c7a

Browse files
author
Marcel Radischat
committed
Excluded compiled python files
1 parent 092c08e commit 3282c7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws_lambda/aws_lambda.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def init(src, minimal=False):
9696
templates_path = os.path.join(os.path.dirname(os.path.abspath(__file__)),
9797
"project_templates")
9898
for filename in os.listdir(templates_path):
99-
if minimal and filename == 'event.json':
99+
if (minimal and filename == 'event.json') or filename.endswith('.pyc'):
100100
continue
101101
destination = os.path.join(templates_path, filename)
102102
copy(destination, src)

0 commit comments

Comments
 (0)