Skip to content
Snippets Groups Projects
Commit cd36a63d authored by Michael Long's avatar Michael Long
Browse files

Revert "change from hardcoded 200 to http_request.status.ok"

This reverts commit 00e33392.
parent e25dfe65
No related branches found
No related tags found
2 merge requests!463MRC mods by Codefenix (2024-10-20),!19add tqwnet to init tickit
......@@ -666,7 +666,7 @@ if(network.echolist
break;
continue;
}
if(http_request.response_code == http_request.status.ok) {
if(http_request.response_code == 200) {
print("Downloaded " + echolist_url + " to " + system.ctrl_dir + file.name);
file.write(contents);
file.close();
......@@ -699,7 +699,7 @@ if(network.echolist
break;
continue;
}
if(http_request.response_code == http_request.status.ok) {
if(http_request.response_code == 200) {
print("Downloaded " + network.pack + " to " + system.ctrl_dir + file.name);
file.write(contents);
file.close();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment