diff --git a/steam/webapi.py b/steam/webapi.py index 2d673ea..2358b25 100644 --- a/steam/webapi.py +++ b/steam/webapi.py @@ -229,7 +229,8 @@ class WebAPIMethod(object): # add property indicating param can be a list param['_array'] = param['name'].endswith('[0]') # remove array suffix - param['name'] = param['name'][:-3] + if param['_array']: + param['name'] = param['name'][:-3] # turn params from a list to a dict self._dict['parameters'][param['name']] = param