Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-add removed logging line, add state file to gitignore #38

Merged
merged 1 commit into from
Oct 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,6 @@ dmypy.json

# IDE
.idea/

# Auto scanner file
.autoscanner-state-file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought about this but thought maybe since it was user configurable we wouldn't do it, but this makes sense since it's a pretty advanced config parameter.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Totally, for the default I think it makes sense to add. If they're going to pick a different path, it'd likely be out of the repo scope anyway I think.

1 change: 1 addition & 0 deletions signal_scanner_bot/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down