1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-02 21:26:08 +00:00

AnimeBytes: fix parse error on empts tag list

This commit is contained in:
kaso17 2017-10-17 12:49:54 +02:00
parent d027901257
commit bb80da9b19

View file

@ -392,8 +392,8 @@ namespace Jackett.Indexers
releaseTags.RemoveAt(i);
}
var group = releaseTags.Last();
if (group.Contains("(") && group.Contains(")"))
var group = releaseTags.LastOrDefault();
if (group != null && group.Contains("(") && group.Contains(")"))
{
// Skip raws if set
if (group.ToLowerInvariant().StartsWith("raw") && !AllowRaws)
@ -452,8 +452,8 @@ namespace Jackett.Indexers
release.DownloadVolumeFactor = 1;
release.UploadVolumeFactor = 1;
if (release.Category != null)
releases.Add(release);
//if (release.Category != null)
releases.Add(release);
}
}
}