diff --git a/dailyreleases/main.py b/dailyreleases/main.py index aa74da6..88957bf 100644 --- a/dailyreleases/main.py +++ b/dailyreleases/main.py @@ -37,8 +37,8 @@ class DailyReleasesBot(object): # Initialize sub-modules self.web = Web(self.config, self.cache) - self.predb = Predb(self.config, self.cache) - self.steam = Steam(self.config, self.cache) + self.predb = Predb(self.cache) + self.steam = Steam(self.cache) self.reddit = Reddit(self.config) def run(self): diff --git a/dailyreleases/predb.py b/dailyreleases/predb.py index b3236fd..2f1ffbf 100644 --- a/dailyreleases/predb.py +++ b/dailyreleases/predb.py @@ -7,8 +7,7 @@ logger = logging.getLogger(__name__) class Predb(object): - def __init__(self, config, cache) -> None: - self.config = config + def __init__(self, cache) -> None: self.cache = cache def get_releases(self): diff --git a/dailyreleases/steam.py b/dailyreleases/steam.py index 6a0204e..ed46430 100644 --- a/dailyreleases/steam.py +++ b/dailyreleases/steam.py @@ -6,8 +6,7 @@ logger = logging.getLogger(__name__) class Steam(object): - def __init__(self, config, cache) -> None: - self.config = config + def __init__(self, cache) -> None: self.cache = cache def appdetails(self, appid):