Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions API.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand Down