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.'