From 077c004fee2c0854b256ca4e0e0b0b8b0f9cc262 Mon Sep 17 00:00:00 2001 From: Someone Date: Thu, 6 Jan 2022 23:37:52 +0100 Subject: [PATCH] core/AbstractCommand.py --- core/AbstractCommand.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/AbstractCommand.py b/core/AbstractCommand.py index 0205713..44e21bc 100644 --- a/core/AbstractCommand.py +++ b/core/AbstractCommand.py @@ -21,11 +21,11 @@ class AbstractCommand(): def __init__(self, team_id): self.TEAM_ID = team_id + def __str__(self): + return str(self.__class__)+" for team_id: "+str(self.TEAM_ID) -# def __str__(self): -# return str(self.__class__)+" for team_id: "+str(self.TEAM_ID) -# def __repr__(self): -# return self.__str__() + def __repr__(self): + return self.__str__() # can/should be overridden by the user -- 2.43.0