Closed jayvdb closed 3 years ago
Actually, I think #130 solves this same problem, just in a slightly more pythonic way. Thanks for your patch, though!
fwiw, it was intentional to not do it that way. The other approach broke Python 2. https://github.com/ralphbean/taskw/pull/130#issuecomment-740326022 Can be fixed using something like https://stackoverflow.com/questions/21367320/searching-for-equivalent-of-filenotfounderror-in-python-2 .
Replaces
'foo' in e
with'foo' in str(e)
.Fixes https://github.com/ralphbean/taskw/issues/127