Created
March 14, 2017 00:23
-
-
Save mattstibbs/2fa965e15948af2a514cef077b30cee8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def str2bool(v): | |
return v.lower() in ("yes", "true", "t", "1") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment