Browse Source

fix bug in disconnect override; v0.7.1

pull/34/head
Rossen Georgiev 9 years ago
parent
commit
4fb9d2c393
  1. 4
      steam/__init__.py
  2. 4
      steam/client/__init__.py

4
steam/__init__.py

@ -1,7 +1,7 @@
__version__ = "0.7.0" __version__ = "0.7.1"
__author__ = "Rossen Georgiev" __author__ = "Rossen Georgiev"
version_info = (0, 7, 0) version_info = (0, 7, 1)
from steam.steamid import SteamID from steam.steamid import SteamID
from steam.webapi import WebAPI from steam.webapi import WebAPI

4
steam/client/__init__.py

@ -55,12 +55,12 @@ class SteamClient(CMClient, FeatureBase):
""" """
self.credential_location = path self.credential_location = path
def disconnect(self): def disconnect(self, *args, **kwargs):
""" """
Close connection Close connection
""" """
self.logged_on = False self.logged_on = False
CMClient.disconnect(self) CMClient.disconnect(self, *args, **kwargs)
def _handle_jobs(self, event, *args): def _handle_jobs(self, event, *args):
if isinstance(event, EMsg): if isinstance(event, EMsg):

Loading…
Cancel
Save