From 5cfa36e5589c30e07ec1dcd350c39a7f646e6a3a Mon Sep 17 00:00:00 2001 From: sickprodigy Date: Mon, 17 Nov 2025 17:16:30 -0500 Subject: [PATCH] fix: Remove test_send.py script to clean up unused code --- Scripts/test_send.py | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 Scripts/test_send.py diff --git a/Scripts/test_send.py b/Scripts/test_send.py deleted file mode 100644 index 3688917..0000000 --- a/Scripts/test_send.py +++ /dev/null @@ -1,16 +0,0 @@ -import ujson -# Reload discord module fresh and run the forced debug send once. -try: - # ensure we use latest module on device - import sys - if "scripts.discord_webhook" in sys.modules: - del sys.modules["scripts.discord_webhook"] - import scripts.discord_webhook as d - # load config.json to populate webhook URL - with open("config.json", "r") as f: - cfg = ujson.load(f) - d.set_config(cfg) - print("Running debug_force_send() — may trigger ENOMEM, run once only") - d.debug_force_send("memory test") -except Exception as e: - print("test_send error:", e) \ No newline at end of file