Update SubtitleApi.cs

This commit is contained in:
Zoe Roux 2020-12-19 23:10:51 +01:00
parent c5dbd455d0
commit 5229e319b1

View File

@ -128,7 +128,7 @@ namespace Kyoo.Api
private static IEnumerable<string> ConvertBlock(IList<string> lines) private static IEnumerable<string> ConvertBlock(IList<string> lines)
{ {
if (lines.Length < 3) if (lines.Count < 3)
return lines; return lines;
lines[1] = lines[1].Replace(',', '.'); lines[1] = lines[1].Replace(',', '.');
if (lines[2].Length > 5) if (lines[2].Length > 5)