feat: Updated automations blacklist file to make it clearer
All checks were successful
Build Docker / Build Image (push) Successful in 44s

This commit is contained in:
Nathan Woodburn 2024-11-21 19:33:10 +11:00
parent 9f1f7fb18e
commit 40f520ba5e
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -97,7 +97,7 @@ def disable(params, authentication):
# Create walletname file in user_data # Create walletname file in user_data
wallet = authentication.split(":")[0] wallet = authentication.split(":")[0]
with open(f"user_data/{wallet}.autoRenew", "w") as f: with open(f"user_data/{wallet}.autoRenew", "w") as f:
f.write("disabled") f.write(f"This file is used to disable automations for '{wallet}' wallet.\nDelete this file to enable automations.")
return {"Status": "Disabled Automations"} return {"Status": "Disabled Automations"}
def enable(params, authentication): def enable(params, authentication):