Commit cd36a63d authored by Michael Long's avatar Michael Long

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

This reverts commit 00e33392.
parent e25dfe65
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment