From f72c118c24df981ea3c92050a551f8bbb9500c16 Mon Sep 17 00:00:00 2001 From: Philipp Joos Date: Tue, 20 Aug 2019 16:05:44 +0200 Subject: [PATCH] Fixed indention --- steam/client/builtins/apps.py | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) 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