diff --git a/bin/pwnagotchi b/bin/pwnagotchi index 4efc9def..f3e3aad5 100755 --- a/bin/pwnagotchi +++ b/bin/pwnagotchi @@ -150,7 +150,8 @@ if __name__ == '__main__': local = version_to_tuple(pwnagotchi.__version__) remote = version_to_tuple(latest_ver) if remote > local: - user_input = input("There is a new version available! Update from v%s to v%s?\n[y(es)/n(o)]" % (pwnagotchi.__version__, latest_ver)) + user_input = input("There is a new version available! Update from v%s to v%s?\n[y(es)/n(o)]" + % (pwnagotchi.__version__, latest_ver)) # input validation if user_input.lower() in ('y', 'yes'): os.system("rm /root/.auto-update && systemctl restart pwnagotchi") diff --git a/pwnagotchi/_version.py b/pwnagotchi/_version.py index 0d6ef5fb..25cb3b49 100644 --- a/pwnagotchi/_version.py +++ b/pwnagotchi/_version.py @@ -1 +1 @@ -__version__ = '2.4.4' +__version__ = '2.4.5' diff --git a/pwnagotchi/ai/__init__.py b/pwnagotchi/ai/__init__.py index a95caafd..ad41fc10 100644 --- a/pwnagotchi/ai/__init__.py +++ b/pwnagotchi/ai/__init__.py @@ -76,8 +76,8 @@ def load(config, agent, epoch, from_disk=True): return a2c except Exception as e: - logging.exception("error while starting AI (%s)", e) - logging.info("Deleting brain and restarting.") + logging.exception("[AI] error while starting AI (%s)", e) + logging.info("[AI] Deleting brain and restarting.") os.system("rm /root/brain.nn && systemctl restart pwnagotchi") logging.warning("[ai] AI not loaded!")