From 1493fbfe428f65b0bd31d1f487c5a7f477b38f07 Mon Sep 17 00:00:00 2001 From: Someone Date: Thu, 6 Jan 2022 23:37:52 +0100 Subject: [PATCH] core/AbstractWSHandler.py --- core/AbstractWSHandler.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/AbstractWSHandler.py b/core/AbstractWSHandler.py index 28722d9..35e84f5 100644 --- a/core/AbstractWSHandler.py +++ b/core/AbstractWSHandler.py @@ -11,6 +11,13 @@ class AbstractWSHandler(): def __init__(self): pass + def __str__(self): + return str(self.__class__)+" for team_id: "+str(self.TEAM_ID) + + def __repr__(self): + return self.__str__() + + # should be overridden by the user def on_register_ws_evtype(self, evtype): pass -- 2.43.0