Fix build
This commit is contained in:
parent
e55f35b62e
commit
81992ef205
|
@ -172,8 +172,8 @@ namespace MediaBrowser.Providers.Studios
|
|||
|
||||
public IEnumerable<string> GetAvailableImages(string file)
|
||||
{
|
||||
using (var fileStream = new FileStream(file, FileMode.Open, FileAccess.Read, FileShare.Read));
|
||||
using (var reader = new StreamReader(fileStream));
|
||||
using var fileStream = new FileStream(file, FileMode.Open, FileAccess.Read, FileShare.Read);
|
||||
using var reader = new StreamReader(fileStream);
|
||||
var lines = new List<string>();
|
||||
|
||||
foreach (var line in reader.ReadAllLines())
|
||||
|
@ -184,11 +184,6 @@ namespace MediaBrowser.Providers.Studios
|
|||
}
|
||||
}
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(text))
|
||||
{
|
||||
lines.Add(text);
|
||||
}
|
||||
|
||||
return lines;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user