aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfwaggle <[email protected]>2022-11-05 15:01:28 +1100
committerfwaggle <[email protected]>2022-11-05 15:01:28 +1100
commit144a4e2b9bdfd371e651f965f21018dc4dd77fd4 (patch)
tree1ce5bfd62ae882c2360b665205e1752b6ca0e240 /tests/README.markdown
parentb69e998cebcf60052a0ccfa76bce073f9817df65 (diff)
downloadmastodon.py-144a4e2b9bdfd371e651f965f21018dc4dd77fd4.tar.gz
Fix version crash when connecting to gotosocial
While gotosocial has a PR open to send a Mastodon-compatible version in the `instance` endpoint, whatever it sends is unlikely to be helpful for the purpose of version-gating features in the client library. You can disable version-gating, but it still fails on instantiating due to GtS's version not matching the semver regex. Fix this by moving the version_check_mode above it, and not parsing the version if it's turned off.
Diffstat (limited to 'tests/README.markdown')
0 files changed, 0 insertions, 0 deletions
Powered by cgit v1.2.3 (git 2.41.0)