Skip to content

Commit

Permalink
Merge pull request #1092 from mcrowson/init_py_v
Browse files Browse the repository at this point in the history
detects if current runtime is py2/3 and adds the appropriate line to …
  • Loading branch information
Rich Jones committed Sep 8, 2017
2 parents fa2e878 + b589f00 commit a0b060d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zappa/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1585,6 +1585,7 @@ def init(self, settings_file="zappa_settings.json"):
env_zappa_settings = {
env_name: {
's3_bucket': env_bucket,
'runtime': 'python3.6' if sys.version_info[0] == 3 else 'python2.7'
}
}

Expand Down

0 comments on commit a0b060d

Please sign in to comment.