diff --git a/sensor_to_server.py b/sensor_to_server.py index d2cb242..0475880 100755 --- a/sensor_to_server.py +++ b/sensor_to_server.py @@ -175,8 +175,6 @@ def get_data(): time.sleep(5) # print('{"name":"%d","name1":"%d"}', 123,456) # data = [{'ngvhgv': airtemp_data}, {'nvjgvjvj':airhumi_data}] - else: - print("故障") data = {'ambient_temperature': airtemp_data, 'ambient_humidity': airhumi_data, 'carbon_dioxide': co2_data,