From 702d32292f6af214ec475dcd92a05e87d9458212 Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Sun, 23 Jul 2023 12:28:20 +0200 Subject: [PATCH] Update __init__.py --- pwnagotchi/ai/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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