We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Calling is_connected() before a connection attempt accesses uninitialized attribute.
is_connected()
To Reproduce Call is_connected() before calling connect():
connect()
[...]/sliver/client.py", line 52, in is_connected return self._channel is not None AttributeError: 'SliverClient' object has no attribute '_channel'
Fix Quick fix to BaseClient's __init__ (initialize SliverRPCStub also for good measure):
BaseClient
__init__
SliverRPCStub
self._channel: grpc.aio.Channel = None self._stub: SliverRPCStub = None
The text was updated successfully, but these errors were encountered:
425a494
Merge pull request #30 from moloch--/fix-attributes
6327319
fix #29
daddycocoaman
No branches or pull requests
Describe the bug
Calling
is_connected()
before a connection attempt accesses uninitialized attribute.To Reproduce
Call
is_connected()
before callingconnect()
:Fix
Quick fix to
BaseClient
's__init__
(initializeSliverRPCStub
also for good measure):The text was updated successfully, but these errors were encountered: