diff options
-rw-r--r-- | views/series.tpl | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/views/series.tpl b/views/series.tpl index 4f9e183ab..c14c6b834 100644 --- a/views/series.tpl +++ b/views/series.tpl @@ -89,15 +89,19 @@ </td>
<td>{{!"" if row[4] == None else row[4]}}</td>
<td>
- %for total_subtitles in total_subtitles_list:
- % if total_subtitles[0] == row[5]:
- % total_subs = total_subtitles[1]
+ %if not total_subtitles_list:
+ % pass
+ %else:
+ % for total_subtitles in total_subtitles_list:
+ % if total_subtitles[0] == row[5]:
+ % total_subs = total_subtitles[1]
+ % end
% end
- %end
- %missing_subs = 0
- %for missing_subtitles in missing_subtitles_list:
- % if missing_subtitles[0] == row[5]:
- % missing_subs = missing_subtitles[1]
+ % missing_subs = 0
+ % for missing_subtitles in missing_subtitles_list:
+ % if missing_subtitles[0] == row[5]:
+ % missing_subs = missing_subtitles[1]
+ % end
% end
%end
<div class="ui progress" data-value="{{total_subs - missing_subs}}" data-total="{{total_subs}}">
|