Skip to content

Commit 8fa823c

Browse files
author
Michael Barr
committed
Replaced instances of None with ''. None was getting passed to the URL instead of an empty string.
1 parent 8319825 commit 8fa823c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

steamwebapi/games/common/match.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ def GetMatchDetails(self, match_id, method_version=1):
7070
)
7171

7272
@api_key_required
73-
def GetMatchHistory(self, player_name=None, hero_id=None, game_mode=None,
74-
skill=None, date_min=None, date_max=None,
75-
min_players=None, account_id=None, league_id=None,
76-
start_at_match_id=None, matches_requested=None,
77-
tournament_games_only=None, method_version=1):
73+
def GetMatchHistory(self, player_name='', hero_id='', game_mode='',
74+
skill='', date_min='', date_max='',
75+
min_players='', account_id='', league_id='',
76+
start_at_match_id='', matches_requested='',
77+
tournament_games_only='', method_version=1):
7878
""""""
7979
# Set up the parameters
8080
parameters = {

0 commit comments

Comments
 (0)