mostm / pyqiwi

Python QIWI API Wrapper
http://pyqiwi.readthedocs.io/
MIT License
45 stars 25 forks source link

Fixed pid type error #38

Closed Gaspero closed 3 years ago

Gaspero commented 3 years ago

In generate_form_link function conditions compare pid argurment (type str) and its value (type int), that results in e.g. not providing comment (and not setting it as blocked) to the resulting form

mostm commented 3 years ago

Original code was structured around str, which I forgot to redocument as int :) Still, this is a valid PR and other projects may already supply str per documentation. Thanks for noticing!