Просмотр исходного кода

extractor reporting invalid percentages

David Rose 23 лет назад
Родитель
Сommit
246b224786
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      panda/src/downloader/extractor.cxx

+ 1 - 1
panda/src/downloader/extractor.cxx

@@ -237,7 +237,7 @@ get_progress() const {
 
   float progress_through_list =
     (((float)_request_index + progress_through_file) / 
-     (float)(_requests.size() + 1));
+     (float)(_requests.size()));
 
   return progress_through_list;
 }