Skip to content

Commit

Permalink
Update pathfinder.py
Browse files Browse the repository at this point in the history
Ctri-The-Third committed Dec 12, 2023
1 parent 56d27c6 commit d0288cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion straders_sdk/pathfinder/pathfinder.py
Original file line number Diff line number Diff line change
@@ -142,7 +142,7 @@ def load_jump_graph_from_db(self):
def load_system_graph_from_db(self, system_s: str, fuel_capacity=400):
"Creates a graph for a given system's refuel points, based on the waypoints in the database."
graph = Graph()
sql = """select w.waypoint_symbol, x,y, wt.trait_symbol, modifiers, under_construction = 'MARKETPLACE' from waypoints w
sql = """select w.waypoint_symbol, x,y, wt.trait_symbol= 'MARKETPLACE', modifiers, under_construction from waypoints w
left join waypoint_Traits wt on wt.waypoint_symbol = w.waypoint_symbol and wt.trait_symbol = 'MARKETPLACE'
where system_symbol = %s
"""

0 comments on commit d0288cc

Please sign in to comment.