Skip to content

Commit

Permalink
unknown bridges make issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pvyParts committed Aug 11, 2024
1 parent 688d0b1 commit f178560
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion corptools/api/corporation/dashboards.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def get_dashboard_gates(request):
split = s.name.split(" » ")
from_sys = split[0]
to_sys = split[1].split(" - ")[0]
connection = f"{from_sys}{to_sys}"
reverse_connection = f"{to_sys}{from_sys}"
days = 0
if s.fuel_expires:
Expand Down Expand Up @@ -92,7 +93,7 @@ def get_dashboard_gates(request):
}
output[from_sys]["end"] = {
"known": False, "active": False}
second_systems.add(reverse_connection)
second_systems.add(connection)

return list(output.values())

Expand Down

0 comments on commit f178560

Please sign in to comment.