Skip to content

Commit

Permalink
fix: use getenv
Browse files Browse the repository at this point in the history
  • Loading branch information
Zalk0 committed Mar 29, 2024
1 parent f4e257b commit 805d500
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/skyblock_guild.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import aiohttp
from dotenv import dotenv_values
from os import getenv

api_hypixel = "https://api.hypixel.net/"
token_hypixel = dotenv_values()["HYPIXEL_KEY"]
token_hypixel = getenv("HYPIXEL_KEY")


async def fetch(session, url, params=None):
Expand Down

0 comments on commit 805d500

Please sign in to comment.