Skip to content

Commit

Permalink
whooooooooopsie
Browse files Browse the repository at this point in the history
  • Loading branch information
JustTemmie committed May 9, 2023
1 parent 47d7f1a commit 7432e1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def getWebScrapePresence():
cj = cookielib.MozillaCookieJar(f"{dirname(__file__)}/cookies.txt")
cj.load()

URL = f"https://steamcommunity.com/profiles/{i}/"
URL = f"https://steamcommunity.com/profiles/{userID}/"
page = requests.post(URL, cookies=cj)

if page.status_code == 403:
Expand Down Expand Up @@ -754,7 +754,7 @@ def main():

print("----------------------------------------------------------")

if activeRichPresence != gameRichPresence:
if activeRichPresence != gameRichPresence and isPlaying:
setPresenceDetails()
print("----------------------------------------------------------")

Expand Down

0 comments on commit 7432e1a

Please sign in to comment.