From 3b82122639468df7c6ff8d0948a5dc43d96ac7bd Mon Sep 17 00:00:00 2001 From: Stupid <22520563+NewJerseyStyle@users.noreply.github.com> Date: Sun, 28 Apr 2024 15:06:33 -0400 Subject: [PATCH] Fix bracket position issue #62 Line 91 ` print("{}\t{}\t{}").format(siteid, citycode, pv)` to ` print("{}\t{}\t{}".format(siteid, citycode, pv))` Signed-off-by: Stupid <22520563+NewJerseyStyle@users.noreply.github.com> --- MiscDemo/connect/python/connector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MiscDemo/connect/python/connector.py b/MiscDemo/connect/python/connector.py index b2705d3..8f1f27c 100755 --- a/MiscDemo/connect/python/connector.py +++ b/MiscDemo/connect/python/connector.py @@ -88,7 +88,7 @@ print("query data successfully") print("siteid\tcitycode\tpv") for (siteid, citycode, pv) in cursor: - print("{}\t{}\t{}").format(siteid, citycode, pv) + print("{}\t{}\t{}".format(siteid, citycode, pv)) # drop database try: