mirror of
https://github.com/lutris/lutris
synced 2024-10-14 11:42:36 +00:00
Removed unused files
This commit is contained in:
parent
8acda9d5dd
commit
29fa2bb44e
|
@ -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
Loading…
Reference in a new issue