From 97ce3bff2a155ea2fd87459282402f540ccc276a Mon Sep 17 00:00:00 2001 From: atxr Date: Wed, 28 Feb 2024 03:23:14 +0100 Subject: [PATCH] Fix small typo in webapp --- webapp/app.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webapp/app.py b/webapp/app.py index 27cfed8..5ae934b 100644 --- a/webapp/app.py +++ b/webapp/app.py @@ -35,7 +35,9 @@ def upload(): try: recv_hash = s.recv(32) - status = unpack("B", s.recv(1)) + status = unpack("B", s.recv(1))[0] + + print(f"{status=}", file=sys.stdout) if (hash != recv_hash): message = 'Error: Mismatching sha256.'