Python
use blank startup.lock file instead of writing things to it
Chris Malonea65250a3c2ad
diff --git a/wgp.py b/wgp.pyindex faaf79b..c1af580 100644--- a/wgp.py+++ b/wgp.py@@ -11383,8 +11383,8 @@ if __name__ == "__main__":globals()["SAFE_MODE"] = Truetry:- with open(STARTUP_LOCK_FILE, "w") as f:- f.write(str(time.time()))+ with open(STARTUP_LOCK_FILE, "w"):+ passexcept Exception as e:print(f"Warning: Could not create startup lock file: {e}")