Skip to content

Commit

Permalink
Make dummy server return a params file
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzalemon committed Oct 30, 2023
1 parent 19c03c9 commit c39b408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/handlers/uav.py
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ def get_param(self, key: str):

def get_params(self):
try:
return {"result": {}}
return {"result": json.loads(open("assets/params/plane.json").read())}
except Exception as e:
raise GeneralError(str(e)) from e

Expand Down

0 comments on commit c39b408

Please sign in to comment.