M-o-a-T / moat-mqtt

An async MQTT broker and client, plus DistKV integration
MIT License
21 stars 9 forks source link

fixed: argument of type 'NoneType' is not iterable #3

Closed norwood867 closed 4 years ago

norwood867 commented 4 years ago

Prevents the 'TypeError: argument of type 'NoneType' is not iterable' if config is None which is the default if no config is passed in the argument and to make sure config is a dict().

sample: client_subscribe.py runs without error now.

smurfix commented 4 years ago

Thanks for the pull request and sorry for overlooking it; by now this has been fixed differently.