ko-zu / psl

publicsuffixlist for python
Mozilla Public License 2.0
61 stars 10 forks source link

Fix using a non-default accept_unknown in `privatesuffix()` #22

Closed megabug closed 1 year ago

megabug commented 1 year ago

privatesuffix() is incorrectly using the accept_unknown configured on the instance even if a specific value is passed in the method's arguments.

Fix by using the version from the arguments (which uses the instance version if left to the default None)