OpenTechStrategies / SimpleBook

A fork of the Collection Extension to print books from MediaWiki instances
1 stars 1 forks source link

Support missing parameters #51

Closed slifty closed 3 years ago

slifty commented 3 years ago

This PR fixes an issues where the python renderer would fail to generate books unless all possible form parameters were provided. This was specifically causing issues where the username / password was not being sent; many wikis allow access without credentials, and book rendering should support that use case.

Resolves #50

slifty commented 3 years ago

Oh great point -- I'll confirm and either fix or merge depending on what I find.

slifty commented 3 years ago

Update:

TypeError: the JSON object must be str, bytes or bytearray, not NoneType

(fixing now -- ty!)