publish eve_chat_watcher.py

This commit is contained in:
brockdarnold 2026-06-14 08:06:01 +00:00
parent 3e4142855d
commit 8bf9886b83

View file

@ -64,6 +64,7 @@ def main():
if not d: if not d:
sys.exit("No Chatlogs dir. Set [chat] chatlogs_dir in config.ini.") sys.exit("No Chatlogs dir. Set [chat] chatlogs_dir in config.ini.")
print(f"[chat] watching {channels} in {d}; keywords={keywords or 'ALL'}") print(f"[chat] watching {channels} in {d}; keywords={keywords or 'ALL'}")
w.heartbeat(cp, "chat")
handles = {} # channel -> (path, fh) handles = {} # channel -> (path, fh)
last = {} # channel -> last alert time last = {} # channel -> last alert time