mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix naming
This commit is contained in:
parent
e04fee0ea1
commit
8707a1470c
2
main.py
2
main.py
@ -149,7 +149,7 @@ if __name__ == "__main__":
|
||||
Console.info("Remote change complete.")
|
||||
|
||||
Console.info("Checking for reset secret flag")
|
||||
if helper.get_setting("reset_secrets_on_boot"):
|
||||
if helper.get_setting("reset_secrets_on_next_boot"):
|
||||
Console.info("Found Reset")
|
||||
controller.management.set_crafty_api_key(
|
||||
str(helper.random_string_generator(64))
|
||||
|
Loading…
Reference in New Issue
Block a user