Disallow / in compute_id because it was a stupid idea

This commit is contained in:
Julien Duponchelle
2016-06-02 18:38:47 +02:00
parent 917c1c7f84
commit e05b0a396e
3 changed files with 11 additions and 11 deletions

View File

@ -329,4 +329,4 @@ class Compute:
Forward a call to the emulator on compute
"""
res = yield from self.get("/{}/{}".format(type, path))
return res
return res.json