eclipse / paho.mqtt.python

paho.mqtt.python
Other
2.12k stars 722 forks source link

fix to reflect new method #817

Closed clmcavaney closed 4 months ago

clmcavaney commented 4 months ago

I saw that rc == was shown in an example for "NEW code" but the code snippet parameter is reason_code If I am correct, this pull request should fix that.

PierreF commented 4 months ago

thank for spotting this mistake, indeed rc was renamed into reason_code. Could you sign the ECA (https://accounts.eclipse.org/user/eca) so I can merge your contribution ?

clmcavaney commented 4 months ago

Done

PierreF commented 4 months ago

Thank for your contribution