mirror of
https://github.com/godotengine/issue-stats.git
synced 2025-12-30 21:48:21 +03:00
Make build.py run correctly regardless of CWD
This commit is contained in:
4
build.py
4
build.py
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user