diff --git a/wled00/wled_server.cpp b/wled00/wled_server.cpp index e9561aec..61010484 100644 --- a/wled00/wled_server.cpp +++ b/wled00/wled_server.cpp @@ -45,7 +45,7 @@ void handleUpload(AsyncWebServerRequest *request, const String& filename, size_t request->_tempFile = WLED_FS.open(finalname, "w"); DEBUG_PRINT(F("Uploading ")); DEBUG_PRINTLN(finalname); - if (finalname.equals(F("/presets.json")) >= 0) presetsModifiedTime = toki.second(); + if (finalname.equals("/presets.json")) presetsModifiedTime = toki.second(); } if (len) { request->_tempFile.write(data,len);