Handle sanitized protections edge case

This commit is contained in:
Matt Nadareski
2022-03-06 22:19:04 -08:00
parent 0f921c926b
commit 7b62572a56
2 changed files with 4 additions and 0 deletions

View File

@@ -21,6 +21,7 @@
- Update to Aaru v5.3.1 LTS
- Add upper case `<TAB>` processing
- Reorder event handers
- Handle sanitized protections edge case
### 2.3 (2022-02-05)
- Start overhauling Redump information pulling, again

View File

@@ -48,6 +48,9 @@ namespace MPF.Library
// Sanitize and join protections for writing
string protections = SanitizeFoundProtections(orderedDistinctProtections);
if (string.IsNullOrWhiteSpace(protections))
return (true, "None found");
return (true, protections);
}
catch (Exception ex)