Skip to content

Commit

Permalink
Fix broken Steam CI dependency (#230)
Browse files Browse the repository at this point in the history
* Fix broken Steam CI dependency

* Update steam_client.py
  • Loading branch information
doZennn authored Feb 17, 2025
1 parent 7ffab6f commit 0fa31cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .github/scripts/steam_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,12 @@
from steam.enums import EResult
from steam.enums.emsg import EMsg
from steam.utils.proto import proto_to_dict
from steam.core.connection import WebsocketConnection


class Steam: # noqa: D101
def __init__(self) -> None: # noqa: D107
self.logged_on_once = False

self.steam = client = SteamClient()
client.connection = WebsocketConnection()

@client.on('error')
def handle_error(result: EResult) -> None:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
pip install ruff
pip install ijson
pip install trio
pip install "git+https://github.com/njbooher/steam.git@wsproto#egg=steam[client]"
pip install "steam[client]"
- name: Lint with Shellcheck
run: |
shellcheck winetricks
Expand Down

0 comments on commit 0fa31cd

Please sign in to comment.