Make build.py run correctly regardless of CWD

This commit is contained in:
Hugo Locurcio
2025-12-17 00:55:46 +01:00
parent faf3cf5329
commit 16a57ac2f5

View File

@@ -10,6 +10,10 @@ from typing_extensions import Final
def main() -> None:
# Change to the directory where the script is located,
# so that the script can be run from any location.
os.chdir(os.path.dirname(os.path.realpath(__file__)))
load_dotenv()
transport: Final = AIOHTTPTransport(