Rename unknown parttype to "unknown"

This commit is contained in:
cvium 2021-12-11 16:02:51 +01:00
parent 681bfbd535
commit 6d6fb1bba3

View File

@ -41,7 +41,7 @@ public class FileStackRule
return false; return false;
} }
var partType = match.Groups["parttype"].Success ? match.Groups["parttype"].Value : "vol"; var partType = match.Groups["parttype"].Success ? match.Groups["parttype"].Value : "unknown";
result = (match.Groups["filename"].Value, partType, match.Groups["number"].Value); result = (match.Groups["filename"].Value, partType, match.Groups["number"].Value);
return true; return true;
} }