diff --git a/Aaru/Commands/Image/Convert.cs b/Aaru/Commands/Image/Convert.cs index 4ea15f1af..fcc2b4366 100644 --- a/Aaru/Commands/Image/Convert.cs +++ b/Aaru/Commands/Image/Convert.cs @@ -1088,7 +1088,7 @@ namespace Aaru.Commands.Image uint sectorsToDo; - if(inputTape.IsTape) + if(inputTape?.IsTape == true) sectorsToDo = 1; else if(inputFormat.Info.Sectors - doneSectors >= (ulong)count) sectorsToDo = (uint)count;