diff options
author | Lorenz Diener <[email protected]> | 2022-12-03 01:05:00 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-12-03 01:05:00 +0200 |
commit | 78792a70b948796df5d50b4aa226186de0a756c4 (patch) | |
tree | 4e3680c4025d1c11d4a8b2289c452ed21d4c5c5b /mastodon/accounts.py | |
parent | f5d4fbc1f0bd61e80f9daced15d7ef7ee349b50f (diff) | |
parent | dde4c39600050164429b5d05fe986df3d7d593fa (diff) | |
download | mastodon.py-78792a70b948796df5d50b4aa226186de0a756c4.tar.gz |
Merge pull request #292 from eumiro/fix_fstrings
refactor: use f-strings without bug
Diffstat (limited to 'mastodon/accounts.py')
-rw-r--r-- | mastodon/accounts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mastodon/accounts.py b/mastodon/accounts.py index 3d10088..cd43c57 100644 --- a/mastodon/accounts.py +++ b/mastodon/accounts.py | |||
@@ -392,7 +392,7 @@ class Mastodon(Internals): | |||
392 | Returns a :ref:`relationship dict <relationship dict>` containing the updated relationship to the user. | 392 | Returns a :ref:`relationship dict <relationship dict>` containing the updated relationship to the user. |
393 | """ | 393 | """ |
394 | id = self.__unpack_id(id) | 394 | id = self.__unpack_id(id) |
395 | return self.__api_request('POST', f'/api/v1/accounts/{id}/unmute', params) | 395 | return self.__api_request('POST', f'/api/v1/accounts/{id}/unmute') |
396 | 396 | ||
397 | @api_version("1.1.1", "3.1.0", _DICT_VERSION_ACCOUNT) | 397 | @api_version("1.1.1", "3.1.0", _DICT_VERSION_ACCOUNT) |
398 | def account_update_credentials(self, display_name=None, note=None, | 398 | def account_update_credentials(self, display_name=None, note=None, |