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‎

Lines changed: 1 addition & 1 deletion
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
forfilenameinos.listdir(templates_path):
99-
ifminimalandfilename=='event.json':
99+
if(minimalandfilename=='event.json') orfilename.endswith('.pyc'):
100100
continue
101101
destination=os.path.join(templates_path, filename)
102102
copy(destination, src)

0 commit comments

Comments
(0)