This commit is contained in:
xyj 2023-12-07 19:01:36 +08:00
parent e731336111
commit 9924857d9a
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ def valid(msg, client):
if 'device_name' not in origin_data:
client.publish('error', payload='device_name must be supplied', qos=0)
return False
if origin_data['device_name'] != device_name:
if origin_data['device_name'] != 'test':
return False
return True