Skip to content

Syntax error in example code #2

@kz-sam

Description

@kz-sam

I tried to use the example code provided in the readme and found a few errors/ issues:

  1. on line 10: test.isConnected() should be test.is_connected()
  2. There is no main statement, so if you try to run the example as is, nothing happens. I added a simple:
    if __name__=="__main__": runExample()
    to solve this.

Other than that, it works as expected - Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions