Skip to content

Commit

Permalink
compare to basestring instead of str to handle unicode instances
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Polcyn committed Jul 18, 2017
1 parent 25e4233 commit 225c6fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cumulusci/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def process_bool_arg(arg):
""" Determine True/False from argument """
if isinstance(arg, bool):
return arg
elif isinstance(arg, str):
elif isinstance(arg, basestring):
if arg.lower() in ['true', '1']:
return True
elif arg.lower() in ['false', '0']:
Expand Down

0 comments on commit 225c6fc

Please sign in to comment.