fix message parsing bug with donation total

pull/438/head
Thomas Chick 2 weeks ago committed by Mike Lang
parent 211036a4d4
commit f15dcaf545

@ -92,7 +92,7 @@ def main(conf_file, message_log_file, name=socket.gethostname()):
log["message_time"] = message_time
if msg["c"] == "db_total":
if msg["c"].startswith("total"):
log["type"] == "total"
increase = None if total is None else msg["d"] - total
log["increase"] = increase

Loading…
Cancel
Save