Skip to content

Commit

Permalink
Missing class property init
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjan Zijderveld committed Nov 24, 2020
1 parent abd3dcd commit 16ee25b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions substrateinterface/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@ def __init__(self, url=None, websocket=None, ss58_format=None, type_registry=Non

self.request_id = 1
self.url = url
self.websocket = None

if self.url and (self.url[0:6] == 'wss://' or self.url[0:5] == 'ws://'):
self.connect_websocket()
Expand Down

0 comments on commit 16ee25b

Please sign in to comment.