Browse Source

added run_forever() to SteamClient

pull/18/merge
Rossen Georgiev 9 years ago
parent
commit
28591c8f6d
  1. 4
      steam/client/__init__.py

4
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")

Loading…
Cancel
Save