diff options
| author | Arslaan Pathan <[email protected]> | 2026-10-06 09:55:15 +1300 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-10-06 09:55:15 +1300 |
| commit | 0def2235f1ca8163309cf433f7ec9388c4ecba42 (patch) | |
| tree | e783716fe4415a52bb15f09a4d98f85b19da36e5 | |
| parent | 4782ff1b66a87521ccfbffa68cfb12f8565f5cb2 (diff) | |
| download | remote-automation-0def2235f1ca8163309cf433f7ec9388c4ecba42.tar.xz remote-automation-0def2235f1ca8163309cf433f7ec9388c4ecba42.zip | |
dotenv
| -rw-r--r-- | backend.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,5 +1,6 @@ from flask import Flask from pathlib import Path +from dotenv import load_dotenv import requests import subprocess import threading @@ -8,6 +9,8 @@ import os app = Flask(__name__) print_lock = threading.Lock() +load_dotenv("/srv/automation/remote-automation/.env") + @app.get("/automate/hack_this_club") def hack_this_club(): print("i’M gOnNa HaCk\nThIs ClUb!!!1!1!1!!11!111!1!11!1") |
