diff options
author | Miroslav Šedivý <[email protected]> | 2022-12-02 22:04:23 +0100 |
---|---|---|
committer | Miroslav Šedivý <[email protected]> | 2022-12-02 22:04:23 +0100 |
commit | 325cc917d5ad14b130b156d23b7adca46499dc24 (patch) | |
tree | 247b41199512db9693d00baf7522602805e31c3f /mastodon/suggestions.py | |
parent | c796cf39b01e38fe381fb4743988da991b072183 (diff) | |
download | mastodon.py-325cc917d5ad14b130b156d23b7adca46499dc24.tar.gz |
refactor: use f-strings
Diffstat (limited to 'mastodon/suggestions.py')
-rw-r--r-- | mastodon/suggestions.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mastodon/suggestions.py b/mastodon/suggestions.py index ab55993..a94204b 100644 --- a/mastodon/suggestions.py +++ b/mastodon/suggestions.py | |||
@@ -28,5 +28,4 @@ class Mastodon(Internals): | |||
28 | Remove the user with the given `account_id` from the follow suggestions. | 28 | Remove the user with the given `account_id` from the follow suggestions. |
29 | """ | 29 | """ |
30 | account_id = self.__unpack_id(account_id) | 30 | account_id = self.__unpack_id(account_id) |
31 | url = '/api/v1/suggestions/{0}'.format(str(account_id)) | 31 | self.__api_request('DELETE', f'/api/v1/suggestions/{account_id}') |
32 | self.__api_request('DELETE', url) \ No newline at end of file | ||