mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-30 20:09:14 +03:00
Возвращаем ; в сценарии как незначащий символ
This commit is contained in:
@@ -98,6 +98,7 @@ void webSocketEvent(uint8_t num, WStype_t type, uint8_t* payload, size_t length)
|
|||||||
strFromFile.replace("{\"scen\":\"", "");
|
strFromFile.replace("{\"scen\":\"", "");
|
||||||
strFromFile.replace("\\n", "\n");
|
strFromFile.replace("\\n", "\n");
|
||||||
strFromFile.replace("\\\"", "\"");
|
strFromFile.replace("\\\"", "\"");
|
||||||
|
strFromFile.replace(";", " ");
|
||||||
strFromFile.remove(strFromFile.length() - 2, 2);
|
strFromFile.remove(strFromFile.length() - 2, 2);
|
||||||
}
|
}
|
||||||
myfile.close();
|
myfile.close();
|
||||||
|
|||||||
Reference in New Issue
Block a user