Update SubtitleApi.cs

This commit is contained in:
Zoe Roux 2020-12-19 23:07:57 +01:00
parent 037707740e
commit c5dbd455d0

View File

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