[ArchiveTools] Yet one more null check

This commit is contained in:
Matt Nadareski
2017-01-11 09:31:27 -08:00
parent 58ff4dad83
commit d1b39ceb23

View File

@@ -420,7 +420,7 @@ namespace SabreTools.Helper.Tools
Rom possibleTgz = GetTorrentGZFileInfo(input, logger);
// If it was, then add it to the outputs and continue
if (possibleTgz.Name != null)
if (possibleTgz != null && possibleTgz.Name != null)
{
roms.Add(possibleTgz);
return roms;