diff --git a/pwnagotchi/ai/__init__.py b/pwnagotchi/ai/__init__.py index c84a7fe2..21df1ffe 100644 --- a/pwnagotchi/ai/__init__.py +++ b/pwnagotchi/ai/__init__.py @@ -13,6 +13,7 @@ def load(config, agent, epoch, from_disk=True): return False try: + begin = time.time() logging.info("[ai] bootstrapping dependencies ...") start = time.time() @@ -79,4 +80,4 @@ def load(config, agent, epoch, from_disk=True): logging.exception("error while starting AI (%s)", e) logging.warning("[ai] AI not loaded!") - return False \ No newline at end of file + return False