If there are any major changes, I can now edit MOTD!

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-09-20 11:32:53 +02:00
parent 5040b4a490
commit f979783188

View File

@ -140,7 +140,7 @@ def restart(mode):
os.system("service pwnagotchi restart")
def reboot(mode="Auto"):
def reboot(mode=None):
if mode is not None:
mode = mode.upper()
logging.warning("rebooting in %s mode ...", mode)