mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Empty list cannot be called Contains() it seems, appears as
null.
This commit is contained in:
@@ -73,6 +73,9 @@ namespace DiscImageChef.Plugins
|
||||
{
|
||||
try
|
||||
{
|
||||
if(imagePlugin.ImageInfo.readableSectorTags==null)
|
||||
return false;
|
||||
|
||||
if(!imagePlugin.ImageInfo.readableSectorTags.Contains(SectorTagType.AppleSectorTag))
|
||||
return false;
|
||||
|
||||
@@ -159,6 +162,9 @@ namespace DiscImageChef.Plugins
|
||||
|
||||
try
|
||||
{
|
||||
if(imagePlugin.ImageInfo.readableSectorTags==null)
|
||||
return;
|
||||
|
||||
if(!imagePlugin.ImageInfo.readableSectorTags.Contains(SectorTagType.AppleSectorTag))
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user