From c7f4efae2f48de66a482a08f8b81c0d9da81fc84 Mon Sep 17 00:00:00 2001 From: gac-x12sa Date: Thu, 5 Jan 2023 14:35:16 +0100 Subject: [PATCH] Closedown --- script/devices/StdDaq.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/devices/StdDaq.py b/script/devices/StdDaq.py index 7107029..650dcd4 100644 --- a/script/devices/StdDaq.py +++ b/script/devices/StdDaq.py @@ -26,7 +26,7 @@ class StdDaq(DeviceBase): data = {"sources":"eiger", "n_images":10, "output_file":"/tmp/test.h5"} headers = {'Content-type': 'application/json'} r = requests.post(url = self.url + "/write_async", json=data, headers=headers) - self.req_id = int(str(r.json()["request_id"]) + self.req_id = int(str(r.json()["request_id"])) else: self.req_id = self.simulated_id