From 7470c9640bdbfeb6e79b213d18266ac0a720ab44 Mon Sep 17 00:00:00 2001 From: Madison Bowden Date: Mon, 12 Oct 2020 20:17:09 -0700 Subject: [PATCH] Re-add removed logging line, add state file to gitignore (#38) --- .gitignore | 3 +++ signal_scanner_bot/messages.py | 1 + 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 3efd499..4ce7dff 100644 --- a/.gitignore +++ b/.gitignore @@ -130,3 +130,6 @@ dmypy.json # IDE .idea/ + +# Auto scanner file +.autoscanner-state-file diff --git a/signal_scanner_bot/messages.py b/signal_scanner_bot/messages.py index 1bf08f0..9d5e97d 100644 --- a/signal_scanner_bot/messages.py +++ b/signal_scanner_bot/messages.py @@ -80,6 +80,7 @@ def process_signal_message(blob: Dict, api: API) -> None: # Check if twitter-to-signal should be on/off condensed = _condense_command(message) notice = env.STATE.update_listening_status(condensed) + log.info(notice) signal.send_message(notice, env.LISTEN_CONTACT)