demo
demo copied to clipboard
Fix bracket position issue #62
Fixing issue #62
Change MiscDemo/connect/python/connector.py
Line 91
print("{}\t{}\t{}").format(siteid, citycode, pv)
to
print("{}\t{}\t{}".format(siteid, citycode, pv))
The code was from Beijing Dingshi Zongheng Technology Co., Ltd.
It was trying to print some information in a given format. However this intention was not present correctly according to Python syntax. To make it better represent the intention and allow the Python interpreter to execute it correctly, the closing bracket of function call print
has been moved to the end of the line.
It is not a original creation of mine, somehow it is done through me.
I am not sure if my contributions in this pull request is my original creation. But it is an issue that should be fixed. Thanks
Thanks @NewJerseyStyle , can you please sign the CLA?
@DanRoscigno Thanks. I am trying to identify the complete details of the source and of any license or other restriction related to function and bracket in Python syntax. I will agree CLA once the document is ready.