Skip to content

Added "return connected" to the connect function#2

Open
Capula-TC wants to merge 2 commits into
mkwiatkowski:masterfrom
Capula-TC:master
Open

Added "return connected" to the connect function#2
Capula-TC wants to merge 2 commits into
mkwiatkowski:masterfrom
Capula-TC:master

Conversation

@Capula-TC
Copy link
Copy Markdown

Connected was set within the function but was never returned.

Previously the connected function just returned None.

I bumped the setup.py to 1.3.2

Linked to issue raised on Ya-Mouse Repo - ya-mouse#16

Comment thread src/OpenOPC.py
self._group_server_handles = {}
self._group_handles_tag = {}
self._group_hooks = {}
return connected
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't this always return True? If it's False then an exception is raised on line 244.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants