From 325cc917d5ad14b130b156d23b7adca46499dc24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= <6774676+eumiro@users.noreply.github.com> Date: Fri, 2 Dec 2022 22:04:23 +0100 Subject: refactor: use f-strings --- mastodon/suggestions.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mastodon/suggestions.py') 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): Remove the user with the given `account_id` from the follow suggestions. """ account_id = self.__unpack_id(account_id) - url = '/api/v1/suggestions/{0}'.format(str(account_id)) - self.__api_request('DELETE', url) \ No newline at end of file + self.__api_request('DELETE', f'/api/v1/suggestions/{account_id}') -- cgit v1.2.3