diff options
| author | Georgios Andreadis <info@gandreadis.com> | 2020-06-24 13:26:56 +0200 |
|---|---|---|
| committer | Georgios Andreadis <info@gandreadis.com> | 2020-06-24 13:26:56 +0200 |
| commit | db979d36d0b9693cc81ffa0bdd29364c6218fc95 (patch) | |
| tree | 269c21d599ecd190a87e51775ef533b0ea847b56 /opendc/api/v2/tiles | |
| parent | c7f773b027019086153f0260b507c8fa173ee5e8 (diff) | |
Add working test setup
Diffstat (limited to 'opendc/api/v2/tiles')
| -rw-r--r-- | opendc/api/v2/tiles/tileId/rack/machines/position/endpoint.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc/api/v2/tiles/tileId/rack/machines/position/endpoint.py b/opendc/api/v2/tiles/tileId/rack/machines/position/endpoint.py index e769a049..72fd44d5 100644 --- a/opendc/api/v2/tiles/tileId/rack/machines/position/endpoint.py +++ b/opendc/api/v2/tiles/tileId/rack/machines/position/endpoint.py @@ -96,7 +96,7 @@ def PUT(request): return Response(409, 'Rack position occupied.') except Exception as e: - print e + print(e) return Response(400, 'Invalid Machine.') # Return this Machine |
