From ffc0a07f6d9ee9404fefaac404a590f64a78f2cb Mon Sep 17 00:00:00 2001 From: Kevin Trocolli Date: Wed, 1 Nov 2023 01:02:09 -0400 Subject: [PATCH] allnet: fix dl report message typo --- core/allnet.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/allnet.py b/core/allnet.py index d661107..6607322 100644 --- a/core/allnet.py +++ b/core/allnet.py @@ -339,9 +339,8 @@ class AllnetServlet: self.logger.warning(f"Failed to parse DL Report: Invalid format - {rep.err}") return "NG" - msg = f"{rep.serial} @ {client_ip} reported download state {rep.rf_state} for {rep.gd} v{rep.dav}"\ - f" ordered at {datetime.utcfromtimestamp(rep.ot).isoformat()} UTC:"\ - f" {rep.tdsc}/{rep.tsc} segemnts downloaded for working files {rep.wfl} with {rep.dfl} complete." + msg = f"{rep.serial} @ {client_ip} reported download state {rep.rf_state} for {rep.gd} v{rep.dav}:"\ + f" {rep.tdsc}/{rep.tsc} segments downloaded for working files {rep.wfl} with {rep.dfl if rep.dfl else 'none'} complete." self.data.base.log_event("allnet", "DL_ORDER", logging.INFO, msg, dl_data) self.logger.info(msg)