Skip to content

Commit

Permalink
fix exit() for py3; v0.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
rossengeorgiev committed Nov 28, 2016
1 parent ce72d88 commit 3b006bd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions dota2/__init__.py
@@ -1,7 +1,7 @@
__version__ = "0.2.5"
__version__ = "0.2.6"
__author__ = "Rossen Georgiev"

version_info = (0, 2, 5)
version_info = (0, 2, 6)


# proxy object
Expand Down
4 changes: 2 additions & 2 deletions dota2/client.py
Expand Up @@ -252,7 +252,7 @@ def exit(self):
if self._retry_welcome_loop:
self._retry_welcome_loop.kill()

if self.app_id in self.steam.current_games_played:
self.steam.games_played(filter(lambda x: x != self.app_id, self.steam.current_games_played))
self.steam.current_games_played.remove(self.app_id)
self.steam.games_played(self.steam.current_games_played)

self._set_connection_status(GCConnectionStatus.NO_SESSION)
2 changes: 1 addition & 1 deletion requirements.txt
@@ -1,5 +1,5 @@
enum34==1.1.2; python_version < '3.4'
gevent==1.1
protobuf==3.0.0
steam[client]==0.8.10
steam[client]==0.8.12
gevent-eventemitter==2.0
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -12,7 +12,7 @@
__version__ = f.readline().split('"')[1]

install_requires = [
'steam[client]>=0.8.10',
'steam[client]>=0.8.12',
'gevent-eventemitter>=2.0',
'gevent>=1.1',
'protobuf>=3.0.0',
Expand Down

0 comments on commit 3b006bd

Please sign in to comment.