Remove debug code

This commit is contained in:
Elara 2021-12-11 22:23:01 -08:00
parent 38eda50537
commit 56ed3dda88

View File

@ -564,7 +564,6 @@ func handleConnection(conn net.Conn, dev *infinitime.Device, fs *blefs.FS) {
json.NewEncoder(conn).Encode(types.Response{Type: req.Type})
case types.FSTypeRead:
fmt.Println(scanner.Text(), reqData)
if len(reqData.Files) != 2 {
connErr(conn, req.Type, nil, "Read FS command requires a path to the file to read")
break