From dc74ca23a699d4c211396d2011d3791e4377ce94 Mon Sep 17 00:00:00 2001 From: Mark McIntyre Date: Thu, 15 Feb 2024 10:39:29 -0500 Subject: [PATCH] removed unnecessary .format() --- fedora_schedule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedora_schedule.py b/fedora_schedule.py index 178f7ff..ea3c9b6 100644 --- a/fedora_schedule.py +++ b/fedora_schedule.py @@ -20,7 +20,7 @@ class FedoraSchedule(): return tasks_so_far def _get_schedule(self): - release_schedule_url = f"{self.schedule_url.format(self.release_version)}/f-{self.release_version}/f-{self.release_version}-key.json" + release_schedule_url = f"{self.schedule_url}/f-{self.release_version}/f-{self.release_version}-key.json" schedule_json = json.loads(requests.get(release_schedule_url).content) tasks = self._parse_tasks(schedule_json['tasks']) return tasks