Fixed typos
This commit is contained in:
parent
bcfcf4eb86
commit
fe1642664c
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user