aboutsummaryrefslogtreecommitdiff
path: root/web/storage.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--web/storage.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/web/storage.cpp b/web/storage.cpp
index eef145e..d540a5c 100644
--- a/web/storage.cpp
+++ b/web/storage.cpp
@@ -55,7 +55,6 @@ EM_ASYNC_JS(int, download_and_store, (const char *key, const char *url), {
55 return 0; 55 return 0;
56 } 56 }
57 57
58 console.log("Data for " + key + " downloaded, writing to storage...");
59 let data = await response.bytes(); 58 let data = await response.bytes();
60 var stream = FS.open("/tables/" + key, "w+"); 59 var stream = FS.open("/tables/" + key, "w+");
61 FS.write(stream, data, 0, data.length, 0); 60 FS.write(stream, data, 0, data.length, 0);

Generated with cgit - Back to sebastiano.tronto.net