diff --git a/AATC_Crypto.py b/AATC_Crypto.py index 7169a87..30b0663 100644 --- a/AATC_Crypto.py +++ b/AATC_Crypto.py @@ -175,10 +175,8 @@ def Decrypt(self,data): def Send(self,data): self.con.sendall(codecs.encode(str(data))) def Recv(self): - try: - data = recvall.recvall(self.con) - data = ast.literal_eval(codecs.decode(data)) - # (Command,Arguments) - return data - except Exception as e: - print("Error in Cryptor while receiving ",e) + data = recvall.recvall(self.con) + data = ast.literal_eval(codecs.decode(data)) + # (Command,Arguments) + return data +