From 93bdf2e3a1085765bf64f5c29640c60dad2d3557 Mon Sep 17 00:00:00 2001 From: dadav <33197631+dadav@users.noreply.github.com> Date: Sun, 19 Jan 2020 16:48:35 +0100 Subject: [PATCH] remove accidentally commited snippet --- pwnagotchi/log.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pwnagotchi/log.py b/pwnagotchi/log.py index c0d1696..16f8293 100644 --- a/pwnagotchi/log.py +++ b/pwnagotchi/log.py @@ -215,11 +215,6 @@ class LastSession(object): def setup_logging(args, config): cfg = config['main']['log'] - memory_cfg = config['fs']['memory'] - log_to_memory = memory_cfg['enabled'] and \ - memory_cfg['files']['logs']['enabled'] - memory_log_levels = memory_cfg['files']['logs']['levels'] \ - if log_to_memory else None filename = cfg['path'] formatter = logging.Formatter("[%(asctime)s] [%(levelname)s] %(message)s")