mirror of
https://github.com/Jackett/Jackett
synced 2025-02-25 07:32:38 +00:00
allow TrackerCategory == null
This commit is contained in:
parent
f9c4b876bd
commit
b1453157bd
1 changed files with 13 additions and 11 deletions
|
@ -155,6 +155,8 @@ namespace Jackett.Indexers
|
|||
{
|
||||
cats.Add(mapping.NewzNabCategory);
|
||||
|
||||
if (mapping.TrackerCategory != null)
|
||||
{
|
||||
// 1:1 category mapping
|
||||
try
|
||||
{
|
||||
|
@ -165,7 +167,7 @@ namespace Jackett.Indexers
|
|||
{
|
||||
// mapping.TrackerCategory is not an integer, continue
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
return cats;
|
||||
|
|
Loading…
Reference in a new issue