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:
parent
d027901257
commit
bb80da9b19
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue