* related to #40 and #50
@@ -33,7 +33,7 @@ function recv_block(d)
end
function recv_name(d) d = d:gsub('%z.*', '') file.remove(d) file.open(d, 'w') uart.on('data', 130, recv_block, 0) uart.write(0, '\006') end
function recv() uart.on('data', '\000', recv_name, 0) uart.write(0, 'C') end
-function shafile(f) crypto.toHex(crypto.fhash('sha1', f)) end
+function shafile(f) print(crypto.toHex(crypto.fhash('sha1', f))) end
"""
SEND_LUA = \