Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Ctri-The-Third/spacetraders_sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
Ctri-The-Third committed Feb 29, 2024
2 parents 06f1ade + 360baa7 commit 7b06b96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions straders_sdk/client_postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,7 @@ def system_market(self, wp: Waypoint) -> Market or SpaceTradersResponse:
"""/game/systems/{symbol}/marketplace"""
try:
sql = """SELECT mt.trade_symbol, mt.name, mt.description, mt.type FROM market_tradegoods mt where mt.market_symbol = %s"""

rows = try_execute_select(sql, (wp.symbol,), self.connection)
if not rows:
return LocalSpaceTradersRespose(
Expand Down

0 comments on commit 7b06b96

Please sign in to comment.