From 28591c8f6de23a031be732b729c86b470483da70 Mon Sep 17 00:00:00 2001 From: Rossen Georgiev Date: Thu, 14 Jan 2016 04:08:50 +0000 Subject: [PATCH] added run_forever() to SteamClient --- steam/client/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/steam/client/__init__.py b/steam/client/__init__.py index 2709f8d..22cd6e2 100644 --- a/steam/client/__init__.py +++ b/steam/client/__init__.py @@ -119,6 +119,10 @@ class SteamClient(EventEmitter): self.send(MsgProto(EMsg.ClientLogOff)) self.wait_event('disconnected') + def run_forever(self): + while True: + gevent.sleep(300) + def games_played(self, app_ids): if not isinstance(app_ids, list): raise ValueError("Expected app_ids to be of type list")