Open LudovicRousseau opened 1 year ago
Just after a "git clone" I do:
$ python3 example.py Traceback (most recent call last): File "/Users/rousseau/Documents/github/cozytouchpy/example.py", line 21, in <module> client = CozytouchClient(username, password) TypeError: CozytouchClient.__init__() missing 1 required positional argument: 'server'
The example code uses client = CozytouchClient(username, password) without giving any value for the server parameter.
client = CozytouchClient(username, password)
server
I guess the correct syntax should be:
client = CozytouchClient(username, password, "atlantic_cozytouch")
Just after a "git clone" I do:
The example code uses
client = CozytouchClient(username, password)
without giving any value for theserver
parameter.I guess the correct syntax should be: