awslabs / aws-shell

An integrated shell for working with the AWS CLI.
Apache License 2.0
7.17k stars 772 forks source link

Update config file check to use os.path.isfile. #49

Closed donnemartin closed 8 years ago

donnemartin commented 8 years ago

The previous check os.path.exists also checks for directories, os.path.isfile seems to be a cleaner way to check if a file exists.

jamesls commented 8 years ago

:shipit: