Closed JrtPec closed 7 years ago
Well done, I can confirm that this works. I got stuck on the JSONDecodeError tonight and tried your pull request. As you said, I updated the tmpo-py first.
Let's try once more to push the changes to tmpo-py upstream so we avoid creating forks. @icarus75 can you take care of the pull requests, mainly flukso/tmpo-py#17 and flukso/tmpo-py#19.
@saroele @JrtPec Thanks for the heads-up. PR #15,16,17 & 19 have been merged into tmpo-py master. An updated package (0.2.3) has been pushed to Pypi. Let me know if there are any issues with this latest version.
This pull requires some updates to TMPO first: flukso/tmpo-py#17 and flukso/tmpo-py#19.
Long story short:
hp.sync_tmpos()
has an argumenthttp_errors
, which is'warn'
by default, so the error is transformed into a warning. If you make it'ignore'
the error is ignored completely. If it is'raise'
(or anything else really), the error is raised.