tobias-richter / ansible-tasmota

Ansible Role for managing tasmota devices with tasmota commands
Apache License 2.0
31 stars 12 forks source link

Change unicode type to str in tasmota.py #1

Closed bellackn closed 4 years ago

bellackn commented 4 years ago

This PR fixes an issue that occurs when the action plugin is called by Ansible using a Python3 backend:

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: NameError: name 'unicode' is not defined
fatal: [<host>]: FAILED! => {"msg": "Unexpected failure during module execution.", "stdout": ""}

Derived from this SO answer.