Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Fixed part of roboto for euca2ools.
Browse files Browse the repository at this point in the history
Verified on euca2ools 2.1.4.
  • Loading branch information
toastdriven committed Mar 17, 2014
1 parent 84fb748 commit 3f2ba6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boto/roboto/param.py
Expand Up @@ -46,7 +46,7 @@ def convert_boolean(cls, param, value):

@classmethod
def convert_file(cls, param, value):
if os.path.isfile(value):
if os.path.exists(value) and not os.path.isdir(value):
return value
raise ValueError

Expand Down

0 comments on commit 3f2ba6f

Please sign in to comment.