1
0
mirror of https://github.com/lutris/lutris synced 2024-07-05 16:38:42 +00:00

Removed unused files

This commit is contained in:
gascarcella 2022-09-04 02:57:38 -03:00 committed by Mathieu Comandon
parent 8acda9d5dd
commit 29fa2bb44e
2 changed files with 0 additions and 19 deletions

View File

@ -1,18 +0,0 @@
__all__ = ['GAMES_IDS']
import os
import json
from lutris.util import datapath
from lutris.util.log import logger
_GAME_IDS_PATH = os.path.join(datapath.get(), 'discord')
_GAME_IDS_JSON = os.path.join(_GAME_IDS_PATH, 'games-ids.json')
if not os.path.exists(_GAME_IDS_JSON):
logger.exception("game-ids.json for Discord Rich Presence not found")
GAME_IDS = {}
else:
with open(_GAME_IDS_JSON, 'r') as games_json:
GAMES_IDS = json.load(games_json)

File diff suppressed because one or more lines are too long