aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šedivý <[email protected]>2022-12-02 22:04:23 +0100
committerMiroslav Šedivý <[email protected]>2022-12-02 22:04:23 +0100
commit325cc917d5ad14b130b156d23b7adca46499dc24 (patch)
tree247b41199512db9693d00baf7522602805e31c3f /mastodon/suggestions.py
parentc796cf39b01e38fe381fb4743988da991b072183 (diff)
downloadmastodon.py-325cc917d5ad14b130b156d23b7adca46499dc24.tar.gz
refactor: use f-strings
Diffstat (limited to 'mastodon/suggestions.py')
-rw-r--r--mastodon/suggestions.py3
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
Powered by cgit v1.2.3 (git 2.41.0)