From 2b26f7bc72348e2f4526ebbdb0033b9f9d31a22b Mon Sep 17 00:00:00 2001 From: Matthias Ronge Date: Wed, 26 Apr 2023 12:11:17 +0200 Subject: [PATCH] Display progress when creating newspaper processes --- .../helper/tasks/GeneratesNewspaperProcessesThread.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kitodo/src/main/java/org/kitodo/production/helper/tasks/GeneratesNewspaperProcessesThread.java b/Kitodo/src/main/java/org/kitodo/production/helper/tasks/GeneratesNewspaperProcessesThread.java index bbb7a5b09e0..8a8554f8b50 100644 --- a/Kitodo/src/main/java/org/kitodo/production/helper/tasks/GeneratesNewspaperProcessesThread.java +++ b/Kitodo/src/main/java/org/kitodo/production/helper/tasks/GeneratesNewspaperProcessesThread.java @@ -79,7 +79,7 @@ public void run() { if (!generator.nextStep()) { return; } - super.setProgress(generator.getProgress() / generator.getNumberOfSteps()); + super.setProgress(100 * generator.getProgress() / generator.getNumberOfSteps()); if (Thread.currentThread().isInterrupted()) { return; }