Various changes

- Removed useless format manager
- Moved pipeline to its own file
- Fixed steam source next not returning game
- Changed pipeline order
This commit is contained in:
GeoffreyCoulaud
2023-05-24 19:34:07 +02:00
parent e7e30c8ac5
commit 1d2253ff94
8 changed files with 103 additions and 106 deletions

View File

@@ -3,11 +3,14 @@ from requests import HTTPError
from src.game import Game
from src.store.managers.manager import Manager
from src.utils.steamgriddb import SGDBAuthError, SGDBError, SGDBHelper
from src.store.managers.steam_api_manager import SteamAPIManager
class SGDBManager(Manager):
"""Manager in charge of downloading a game's cover from steamgriddb"""
run_after = set((SteamAPIManager,))
def run(self, game: Game) -> None:
try:
sgdb = SGDBHelper()