Closed mthu closed 2 years ago
Since Vapid01 is a superclass of Vapid02 (and thus Vapid) in py_vapid library, following condition does not match the Vapid01 instance and the ongoing code treats the object as a string (and fails parsing it). https://github.com/web-push-libs/pywebpush/blob/a2dbc6f0f1fce632652ca6ea7654eabb5544cc9a/pywebpush/__init__.py#L461
Since Vapid01 is a superclass of Vapid02 (and thus Vapid) in py_vapid library, following condition does not match the Vapid01 instance and the ongoing code treats the object as a string (and fails parsing it). https://github.com/web-push-libs/pywebpush/blob/a2dbc6f0f1fce632652ca6ea7654eabb5544cc9a/pywebpush/__init__.py#L461