Fixed typos

This commit is contained in:
Mark Qvist 2019-11-08 21:54:13 +01:00
parent bcfcf4eb86
commit fe1642664c

View File

@ -119,7 +119,7 @@ def client_request(message, packet):
if message in list_files(): if message in list_files():
try: try:
# If we have the requested file, we'll # If we have the requested file, we'll
# read it and packe it as a resource # read it and pack it as a resource
RNS.log("Client requested \""+message+"\"") RNS.log("Client requested \""+message+"\"")
file = open(os.path.join(serve_path, message), "r") file = open(os.path.join(serve_path, message), "r")
file_resource = RNS.Resource(file.read(), packet.link, callback=resource_sending_concluded) file_resource = RNS.Resource(file.read(), packet.link, callback=resource_sending_concluded)