Merge reading from file and parsing

pull/10366/head
Stepan Goremykin 8 months ago
parent 8d7e4229ca
commit a773b43a81

@ -115,8 +115,7 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
{
try
{
var failHistoryText = await File.ReadAllTextAsync(failHistoryPath, cancellationToken).ConfigureAwait(false);
previouslyFailedImages = failHistoryText
previouslyFailedImages = (await File.ReadAllTextAsync(failHistoryPath, cancellationToken).ConfigureAwait(false))
.Split('|', StringSplitOptions.RemoveEmptyEntries)
.ToList();
}

Loading…
Cancel
Save