From b4766d1b3ea377b85556fb16b6228a8ae4ca0a7d Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Tue, 29 Mar 2022 16:49:38 +0000 Subject: [PATCH] fixed Module template __init__ definition Signed-off-by: Arthur Lu --- src/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module.py b/src/module.py index 47c60c8..e2f8e12 100644 --- a/src/module.py +++ b/src/module.py @@ -15,7 +15,7 @@ class Module(metaclass = abc.ABCMeta): callable(subclass.run) ) @abc.abstractmethod - def __init__(self, config, apikey, tbakey, timestamp, competition, *args, **kwargs): + def __init__(self, *args, **kwargs): raise NotImplementedError @abc.abstractmethod def validate_config(self, *args, **kwargs):