aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-06-05 22:10:31 +0200
committerLorenz Diener <[email protected]>2018-06-05 22:10:31 +0200
commit18c6b3b90ff8bd607df18af86d092ac1205ffbf7 (patch)
tree203729696d2639d5bf221168ad6c76a150130ab0 /mastodon/Mastodon.py
parent36194fd60c8e5c6d30134134e32dd24981aee324 (diff)
downloadmastodon.py-18c6b3b90ff8bd607df18af86d092ac1205ffbf7.tar.gz
New casettes, small fixes
Diffstat (limited to 'mastodon/Mastodon.py')
-rw-r--r--mastodon/Mastodon.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index 52b55df..1830036 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -1611,7 +1611,6 @@ class Mastodon:
1611 1611
1612 return priv_dict, pub_dict 1612 return priv_dict, pub_dict
1613 1613
1614 @api_version("2.4.0", "2.4.0", __DICT_VERSION_PUSH_NOTIF)
1615 def push_subscription_decrypt_push(self, data, decrypt_params, encryption_header, crypto_key_header): 1614 def push_subscription_decrypt_push(self, data, decrypt_params, encryption_header, crypto_key_header):
1616 """ 1615 """
1617 Decrypts `data` received in a webpush request. Requires the private key dict 1616 Decrypts `data` received in a webpush request. Requires the private key dict
@@ -2109,7 +2108,7 @@ class Mastodon:
2109 (or at least the locals() call) should generally be the first thing 2108 (or at least the locals() call) should generally be the first thing
2110 in your function. 2109 in your function.
2111 """ 2110 """
2112 params = dict(params) 2111 params = collections.OrderedDict(params)
2113 2112
2114 del params['self'] 2113 del params['self']
2115 param_keys = list(params.keys()) 2114 param_keys = list(params.keys())
Powered by cgit v1.2.3 (git 2.41.0)