Skip to content

Commit

Permalink
WebAuth: Whoops, send_api_request needs to be an instance method
Browse files Browse the repository at this point in the history
  • Loading branch information
WinterPhoenix committed Feb 22, 2025
1 parent bc57b85 commit 4339386
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions steam/webauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ def __init__(self, username='', password=''):
self.email_auth_waits = False # Not used yet.
self.logged_on = False

@staticmethod
def send_api_request(data, steam_api_interface, steam_api_method,
def send_api_request(self, data, steam_api_interface, steam_api_method,
steam_api_version):
"""Send request to Steam API via requests"""
steam_url = API_URL.format(steam_api_interface, steam_api_method,
Expand Down

0 comments on commit 4339386

Please sign in to comment.