publish eve_combat_watcher.py
This commit is contained in:
parent
0ef5e7f367
commit
3e4142855d
1 changed files with 1 additions and 0 deletions
|
|
@ -73,6 +73,7 @@ def main():
|
||||||
if not gdir:
|
if not gdir:
|
||||||
sys.exit("Couldn't find Gamelogs dir. Set [combat] gamelogs_dir in config.ini.")
|
sys.exit("Couldn't find Gamelogs dir. Set [combat] gamelogs_dir in config.ini.")
|
||||||
print(f"[gamelog] watching {gdir}")
|
print(f"[gamelog] watching {gdir}")
|
||||||
|
w.heartbeat(cp, "combat")
|
||||||
cur = newest(gdir)
|
cur = newest(gdir)
|
||||||
fh = open(cur, "r", encoding="utf-8", errors="ignore") if cur else None
|
fh = open(cur, "r", encoding="utf-8", errors="ignore") if cur else None
|
||||||
if fh:
|
if fh:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue