formatting

This commit is contained in:
Luke Robles 2023-10-13 20:51:13 -07:00
parent f9c03cb336
commit 633854a50c

View File

@ -231,9 +231,15 @@ class StarCitizen(commands.Cog):
if status_json["summaryStatus"] != "ok":
# Extract systems with unresolved issues
systems_with_issues = [system for system in status_json["systems"] if system["unresolvedIssues"]]
systems_with_issues = [
system
for system in status_json["systems"]
if system["unresolvedIssues"]
]
unresolved_issue_permalink = systems_with_issues[0]["unresolvedIssues"][0]["permalink"]
unresolved_issue_permalink = systems_with_issues[0]["unresolvedIssues"][0][
"permalink"
]
# Remove any single quote characters from the URL
current_incident_url = unresolved_issue_permalink.replace("'", "")