Skip to content

Commit

Permalink
Update Factorio.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BattlefieldDuck committed Mar 12, 2024
1 parent 2630451 commit 59016e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Factorio.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def find(self, *, host: str, port: int):
return result

def _fetch(self) -> list:
username, token = os.getenv("FACTORIO_USERNAME")
username = os.getenv("FACTORIO_USERNAME")
token = os.getenv("FACTORIO_TOKEN")
url = f"https://multiplayer.factorio.com/get-games?username={username}&token={token}"
data = self._fetch_url(url)
Expand Down

0 comments on commit 59016e5

Please sign in to comment.