aboutsummaryrefslogtreecommitdiff
path: root/importer
diff options
context:
space:
mode:
Diffstat (limited to 'importer')
-rw-r--r--importer/main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/importer/main.c b/importer/main.c
index b83e850..087fc48 100644
--- a/importer/main.c
+++ b/importer/main.c
@@ -67,10 +67,8 @@ int run(const char *db, const char *txt)
insert(data, line, read-1);
count++;
- if ((count % 321) == 0) {
- float t = ((float)count/(float)total)*100;
- printf("\rLoading data [%03.0f%%] %d/%d", t, count, total);
- }
+ float t = ((float)count/(float)total)*100;
+ printf("\rLoading data [%03.0f%%] %d/%d", t, count, total);
}
float t = ((float)count/(float)total)*100;