Fix small typo in webapp

This commit is contained in:
atxr 2024-02-28 03:23:14 +01:00
parent 28e7b808b8
commit 97ce3bff2a

View file

@ -35,7 +35,9 @@ def upload():
try: try:
recv_hash = s.recv(32) 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): if (hash != recv_hash):
message = 'Error: Mismatching sha256.' message = 'Error: Mismatching sha256.'