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
{{ message }}
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.
In converting from py3 to py2, I think I misread/didn't read the py2 docs:
ConfigParser.get(section, option[, raw[, vars]])
Get an option value for the named section. If vars is provided, it must be a dictionary. The option is looked up in vars (if provided), section, and in defaults in that order.
I think I used vars to supply a default if not present in section. Seems like I need to use a try/except NoOptionError instead.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In converting from py3 to py2, I think I misread/didn't read the py2 docs:
I think I used vars to supply a default if not present in section. Seems like I need to use a try/except NoOptionError instead.
The text was updated successfully, but these errors were encountered: