Updated examples

This commit is contained in:
Mark Qvist 2021-05-20 22:31:09 +02:00
parent ad67c553d7
commit 5ccbc825fd
2 changed files with 2 additions and 2 deletions

View file

@ -115,7 +115,7 @@ def client_connected(link):
list_receipt = list_packet.send()
list_receipt.set_timeout(APP_TIMEOUT)
list_receipt.set_delivery_callback(list_delivered)
list_receipt.timeout_callback(list_timeout)
list_receipt.set_timeout_callback(list_timeout)
else:
RNS.log("Too many files in served directory!", RNS.LOG_ERROR)
RNS.log("You should implement a function to split the filelist over multiple packets.", RNS.LOG_ERROR)