Skip to content

Commit 12ad7ba

Browse files
committed
fixed PR comments
1 parent 7d1f05d commit 12ad7ba

File tree

1 file changed

+1
-1
lines changed
  • mqtt/apps/MQTT Data Monitor

1 file changed

+1
-1
lines changed

mqtt/apps/MQTT Data Monitor/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def get_data(query, warehouse_id, params=None):
4545
df = pandas.read_sql(query, connection, params=params)
4646
else:
4747
df = pandas.read_sql(query, connection)
48-
# Convert DataFrame to list of dictionaries
48+
4949
return df.to_dict('records')
5050
except Exception as e:
5151
logger.error(f"Database query failed: {e}")

0 commit comments

Comments
 (0)