[game-data-packager] 02/03: steam: use default steam_id if none provided for owned_games
Alexandre Detiste
detiste-guest at moszumanska.debian.org
Sun Dec 27 10:43:56 UTC 2015
This is an automated email from the git hooks/post-receive script.
detiste-guest pushed a commit to branch master
in repository game-data-packager.
commit 83f7afe3b8a8f78111f17b4c2ce3207fca957199
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date: Sun Dec 27 09:58:17 2015 +0100
steam: use default steam_id if none provided for owned_games
---
game_data_packager/steam.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/game_data_packager/steam.py b/game_data_packager/steam.py
index ab4ce74..7c04ef3 100644
--- a/game_data_packager/steam.py
+++ b/game_data_packager/steam.py
@@ -57,7 +57,9 @@ def parse_acf(path):
acf_struct['name'] = acf_struct['installdir']
yield acf_struct
-def owned_steam_games(steam_id):
+def owned_steam_games(steam_id=None):
+ if steam_id is None:
+ steam_id = get_steam_id()
if owned_steam_games.STEAM_GAMES is not None:
return owned_steam_games.STEAM_GAMES
owned_steam_games.STEAM_GAMES = []
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git
More information about the Pkg-games-commits
mailing list