[Mod] WebSocketClient:非纯虚函数不使用abstractmethod
This commit is contained in:
parent
c50c31a6bd
commit
562fae9a25
@ -154,7 +154,6 @@ class WebsocketClient(object):
|
||||
pass
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
@abstractmethod
|
||||
def onError(self, exceptionType, exceptionValue, tb):
|
||||
"""Python错误回调"""
|
||||
pass
|
||||
return sys.excepthook(exceptionType, exceptionValue, tb)
|
||||
|
Loading…
Reference in New Issue
Block a user