Merge reading from file and parsing
This commit is contained in:
parent
8d7e4229ca
commit
a773b43a81
|
@ -115,8 +115,7 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var failHistoryText = await File.ReadAllTextAsync(failHistoryPath, cancellationToken).ConfigureAwait(false);
|
previouslyFailedImages = (await File.ReadAllTextAsync(failHistoryPath, cancellationToken).ConfigureAwait(false))
|
||||||
previouslyFailedImages = failHistoryText
|
|
||||||
.Split('|', StringSplitOptions.RemoveEmptyEntries)
|
.Split('|', StringSplitOptions.RemoveEmptyEntries)
|
||||||
.ToList();
|
.ToList();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user