diff --git a/API.py b/API.py index 045b2e3..0c16f84 100755 --- a/API.py +++ b/API.py @@ -330,7 +330,7 @@ def read(self, filename, byteOffset, bytesToRead, newName): fL.send(m, "READ|" + filename + "|" + str(byteOffset) + "|" + str(bytesToRead)) except: print "ERROR: COULD NOT SEND READ REQUEST TO MASTER" - #recieve data from the master + #receive data from the master self.data = fL.recv(m) #close connection to master m.close() @@ -442,7 +442,7 @@ def fileList(self): try: # Send the master a request for the list of files the system contains fL.send(m, "FILELIST|x") - # Recieve the file list from the master + # Receive the file list from the master data = fL.recv(m) # Close the TCP connection to the master m.close()