diff --git a/source/src/woanware/lookuper/main.go b/source/src/woanware/lookuper/main.go index 270cb1a..6600a51 100644 --- a/source/src/woanware/lookuper/main.go +++ b/source/src/woanware/lookuper/main.go @@ -29,7 +29,7 @@ var ( // ##### Constants ############################################################ const APP_NAME string = "lookuper" -const APP_VERSION string = "0.0.5" +const APP_VERSION string = "0.0.6" const DB_FILE_NAME string = "./lookuper.db" const CONFIG_FILE_NAME string = "./lookuper.config" diff --git a/source/src/woanware/lookuper/worker.go b/source/src/woanware/lookuper/worker.go index 16b716f..bb32323 100644 --- a/source/src/woanware/lookuper/worker.go +++ b/source/src/woanware/lookuper/worker.go @@ -264,8 +264,10 @@ func (w *Worker) process(apiKey string) int8 { } if w.numberComplete % 5 == 0 { - percent = float64(w.numberComplete) * float64(100) / float64(w.numberTotal) - log.Printf("Percent Complete: %d", int(percent)) + percent = float64(w.numberComplete) * float64(100) / float64(w.numberTotal) + if percent != 0 { + log.Printf("Percent Complete: %d", int(percent)) + } } responseCode = w.processBatch(apiKey, batchData)