Group bug

This commit is contained in:
2023-05-05 11:50:45 -07:00
parent b8cd2acbde
commit 3d6e6ef713
2 changed files with 6 additions and 11 deletions

View File

@ -263,6 +263,8 @@ internal abstract class PersonContainer
{
innerGroupDirectoryName = Path.GetFileName(innerGroupDirectory);
segments = innerGroupDirectoryName.Split('-');
if (!segments.Any())
throw new NotSupportedException("Misplaced directory!");
if (segments.Length != 3)
continue;
if (segments[zero] is not "Alive" and not "Dead" and not "Unknown")