Fix QuestionID range in bullshitSenderENQUETE.py
This commit is contained in:
@@ -12,7 +12,7 @@ async def send_data(uri):
|
|||||||
data = {
|
data = {
|
||||||
"node": "69:42:08:F5:00:00",
|
"node": "69:42:08:F5:00:00",
|
||||||
"Response": str(round(random.uniform(0, 2))),
|
"Response": str(round(random.uniform(0, 2))),
|
||||||
"QuestionID": str(round(random.uniform(0, 90))),
|
"QuestionID": str(round(random.uniform(1, 2))),
|
||||||
}
|
}
|
||||||
await websocket.send(json.dumps(data))
|
await websocket.send(json.dumps(data))
|
||||||
print("Data sent")
|
print("Data sent")
|
||||||
|
Reference in New Issue
Block a user