From ad27cabb8ae9b22004ab24563c70436411a9edce Mon Sep 17 00:00:00 2001 From: Hang <hang@wirelessprv-10-193-50-113.near.illinois.edu> Date: Wed, 27 Apr 2022 15:21:10 -0500 Subject: [PATCH] fast push --- mp3/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mp3/client.py b/mp3/client.py index 6bef4da..b600bb9 100644 --- a/mp3/client.py +++ b/mp3/client.py @@ -53,7 +53,7 @@ def bind(): def send_operation(operation_str, socket): - msg = operation_str.encode(ENCODING_FORMAT) + msg = operation_str.upper().encode(ENCODING_FORMAT) # todo: upper case msg_length = len(msg) # send_length = str(msg_length).encode(ENCODING_FORMAT) msg += b' ' * (MSG_LENGTH - msg_length) -- GitLab