Check if bazarr was restarted before trying to show progress bar

pull/72/head
Louis Vézina 7 years ago
parent 8cbb22d406
commit a5a2122324

@ -89,6 +89,9 @@
</td> </td>
<td>{{!"" if row[4] == None else row[4]}}</td> <td>{{!"" if row[4] == None else row[4]}}</td>
<td> <td>
%if not total_subtitles_list:
% pass
%else:
% for total_subtitles in total_subtitles_list: % for total_subtitles in total_subtitles_list:
% if total_subtitles[0] == row[5]: % if total_subtitles[0] == row[5]:
% total_subs = total_subtitles[1] % total_subs = total_subtitles[1]
@ -100,6 +103,7 @@
% missing_subs = missing_subtitles[1] % missing_subs = missing_subtitles[1]
% end % end
% end % end
%end
<div class="ui progress" data-value="{{total_subs - missing_subs}}" data-total="{{total_subs}}"> <div class="ui progress" data-value="{{total_subs - missing_subs}}" data-total="{{total_subs}}">
<div class="bar"> <div class="bar">
<div class="progress"></div> <div class="progress"></div>

Loading…
Cancel
Save