diff --git a/edu_coder/extur_edu.py b/edu_coder/extur_edu.py index b602a8a..029fd63 100644 --- a/edu_coder/extur_edu.py +++ b/edu_coder/extur_edu.py @@ -27,7 +27,7 @@ def on_message(client, userdata, msg): # print("收到消息: " + msg.topic + " " + str(msg.payload)) if msg.topic == "response/{}".format(user_id): - print("收到响应: " + str(msg.payload)) + print("收到响应: "+str(msg.topic) + str(msg.payload)) if msg.topic == "image/{}".format(user_id): with open("image.jpg", "wb") as f: