aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2019-10-12 00:32:20 +0200
committerLorenz Diener <[email protected]>2019-10-12 00:32:20 +0200
commit5c4916bd813e205d7fc5cd7f44324b0cecdc4940 (patch)
tree3bc7a407af83ab93d01d27202de98bbce2936acb /mastodon
parent87630e66e4990c1087edabb6bf31291be49942da (diff)
downloadmastodon.py-5c4916bd813e205d7fc5cd7f44324b0cecdc4940.tar.gz
I am very smart
Diffstat (limited to 'mastodon')
-rw-r--r--mastodon/Mastodon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index 1d41551..465beb7 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -2591,7 +2591,7 @@ class Mastodon:
2591 push_key_priv = push_key_pair.private_numbers().private_value 2591 push_key_priv = push_key_pair.private_numbers().private_value
2592 2592
2593 crypto_ver = cryptography.__version__ 2593 crypto_ver = cryptography.__version__
2594 if len(crypto_ver) > 5: 2594 if len(crypto_ver) < 5:
2595 crypto_ver += ".0" 2595 crypto_ver += ".0"
2596 if bigger_version(crypto_ver, "2.5.0") == crypto_ver: 2596 if bigger_version(crypto_ver, "2.5.0") == crypto_ver:
2597 push_key_pub = push_key_pair.public_key().public_bytes(serialization.Encoding.X962, serialization.PublicFormat.UncompressedPoint) 2597 push_key_pub = push_key_pair.public_key().public_bytes(serialization.Encoding.X962, serialization.PublicFormat.UncompressedPoint)
Powered by cgit v1.2.3 (git 2.41.0)