From 18c6b3b90ff8bd607df18af86d092ac1205ffbf7 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Tue, 5 Jun 2018 22:10:31 +0200 Subject: New casettes, small fixes --- mastodon/Mastodon.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mastodon') 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: return priv_dict, pub_dict - @api_version("2.4.0", "2.4.0", __DICT_VERSION_PUSH_NOTIF) def push_subscription_decrypt_push(self, data, decrypt_params, encryption_header, crypto_key_header): """ Decrypts `data` received in a webpush request. Requires the private key dict @@ -2109,7 +2108,7 @@ class Mastodon: (or at least the locals() call) should generally be the first thing in your function. """ - params = dict(params) + params = collections.OrderedDict(params) del params['self'] param_keys = list(params.keys()) -- cgit v1.2.3