diff --git a/steam/client/builtins/apps.py b/steam/client/builtins/apps.py index c8a83b8..8f93516 100644 --- a/steam/client/builtins/apps.py +++ b/steam/client/builtins/apps.py @@ -246,24 +246,24 @@ class Apps(object): return EResult.Timeout, None, None def request_free_license(self, app_ids): - """ Request license for free app - - :param app_ids: list of app ids + """ Request license for free app + + :param app_ids: list of app ids :type app_ids: :class:`list` :return: format ``(granted_appids, granted_packageids)`` :rtype: :class:`tuple` - - .. code:: python - [730] [] - - """ - resp = self.send_job_and_wait(MsgProto(EMsg.ClientRequestFreeLicense), + + .. code:: python + [730] [] + + """ + resp = self.send_job_and_wait(MsgProto(EMsg.ClientRequestFreeLicense), {'appids': map(int, app_ids)}, timeout=30, ) - - if resp.eresult != EResult.OK: - return EResult(resp.eresult) - - else: - return resp.granted_appids, resp.granted_packageids \ No newline at end of file + + if resp.eresult != EResult.OK: + return EResult(resp.eresult) + + else: + return resp.granted_appids, resp.granted_packageids \ No newline at end of file