fix message parsing bug with donation total

pull/437/head
Thomas Chick 9 months ago committed by GitHub
parent 211036a4d4
commit 20eb73dfe4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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