提交 8687dee8 编写于 作者: D dingbo

docs: mockdatasoruce.py

上级 b2037f7a
......@@ -39,7 +39,7 @@ class MockDataSource:
# just add timestamp to each row
# (tableId, "tableName,ts,current,voltage,phase,location,groupId")
return map(lambda t: (t[0], t[1] + str(ts) + "," + t[2]), self.data)
return map(lambda t: (t[0], t[1] + ',' + str(ts) + "," + t[2]), self.data)
if __name__ == '__main__':
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册