python-simplemediawiki icon indicating copy to clipboard operation
python-simplemediawiki copied to clipboard

bug fix: improve detection of 'cookiejar' argument

Open lahwaacz opened this issue 10 years ago • 1 comments

When passing clean LWPCookieJar() object, it is retyped to False, which resulted in creating new CookieJar(). Comparison to None is necessary.

lahwaacz avatar Jul 08 '14 13:07 lahwaacz

In the last commit I've also fixed exception handling for cookie loading with respect to Python2/Python3 differences.

lahwaacz avatar Aug 04 '15 21:08 lahwaacz