From 8687dee8fddc27d6d10f009b0d2a12140e47de95 Mon Sep 17 00:00:00 2001 From: dingbo Date: Thu, 14 Jul 2022 15:37:05 +0800 Subject: [PATCH] docs: mockdatasoruce.py --- docs/examples/python/mockdatasoruce.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples/python/mockdatasoruce.py b/docs/examples/python/mockdatasoruce.py index c77dc36801..7524528c00 100644 --- a/docs/examples/python/mockdatasoruce.py +++ b/docs/examples/python/mockdatasoruce.py @@ -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__': -- GitLab