You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python 3.6.8 (default, Jan 14 2019, 11:02:34)
[GCC 8.0.1 20180414 (experimental) [trunk revision 259383]] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from taskw.exceptions import TaskwarriorError
>>> str(TaskwarriorError("X", "Y", "Z", 1))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: __str__ returned non-string (type bytes)
pip3 freeze | grep taskw==
taskw==1.2.0
The text was updated successfully, but these errors were encountered:
fdcds
added a commit
to fdcds/taskw
that referenced
this issue
Jul 23, 2019
`__str__` should return a string, but `string.encode(...)` returns bytes instead. This commit fixes it by decoding the bytes back to a string.
Fixes: ralphbean#125
The text was updated successfully, but these errors were encountered: