You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current code of log_level handler, just does getattr(value, logging) to get the value, so if you put the log level in lowercase you don't get an error but instead the module funcion is returned.
I made a fix that applies .upper() to the value and also validates the module member getattr(logging, value) is int for extra validation.
The current code of log_level handler, just does
getattr(value, logging)
to get the value, so if you put the log level in lowercase you don't get an error but instead the module funcion is returned.I made a fix that applies .upper() to the value and also validates the module member
getattr(logging, value)
is int for extra validation.PR #138
The text was updated successfully, but these errors were encountered: