net7.0
This commit is contained in:
@ -45,7 +45,7 @@ internal abstract class Face
|
||||
foreach (JsonElement jsonElement in jsonElements)
|
||||
{
|
||||
tuple = JsonSerializer.Deserialize<Tuple<Models.Face, string>>(jsonElement.ToString());
|
||||
if (tuple is null || tuple.Item1 is null || string.IsNullOrEmpty(tuple.Item1.RelativePath))
|
||||
if (tuple is null || tuple.Item1 is null || string.IsNullOrEmpty("tuple.Item1.RelativePath"))
|
||||
continue;
|
||||
results.Add(tuple.Item1);
|
||||
if (maximum.HasValue && results.Count >= maximum)
|
||||
|
Reference in New Issue
Block a user