Skip to content

Commit

Permalink
Bug: wrong field in request
Browse files Browse the repository at this point in the history
Signed-off-by: SystemsPurge <[email protected]>
  • Loading branch information
SystemsPurge committed Nov 11, 2024
1 parent 2629aaa commit 2ca5ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion villas/controller/components/simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def _upload(self, filename):
params["headers"] = {"Authorization":f"Bearer {self.t_up_token}"}
self.t_up_token = None
with open(filename, 'rb') as f:
params["body"] = f
params["data"] = f
r = requests.put(**params)
r.raise_for_status()

Expand Down

0 comments on commit 2ca5ad1

Please sign in to comment.