removed unnecessary .format()

This commit is contained in:
Mark McIntyre 2024-02-15 10:39:29 -05:00
parent af4b1c1def
commit dc74ca23a6

View File

@ -20,7 +20,7 @@ class FedoraSchedule():
return tasks_so_far return tasks_so_far
def _get_schedule(self): 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) schedule_json = json.loads(requests.get(release_schedule_url).content)
tasks = self._parse_tasks(schedule_json['tasks']) tasks = self._parse_tasks(schedule_json['tasks'])
return tasks return tasks