mirror of
https://github.com/Jackett/Jackett
synced 2024-12-27 02:09:24 +00:00
Update AnimeBytes required passkey length (#3079)
Allow length of 48 for passkey for future changes in AnimeBytes codebase.
This commit is contained in:
parent
6ea2c18384
commit
cc13d7edf6
1 changed files with 2 additions and 2 deletions
|
@ -68,8 +68,8 @@ namespace Jackett.Common.Indexers
|
||||||
{
|
{
|
||||||
LoadValuesFromJson(configJson);
|
LoadValuesFromJson(configJson);
|
||||||
|
|
||||||
if (configData.Passkey.Value.Length != 32)
|
if (configData.Passkey.Value.Length != 32 && configData.Passkey.Value.Length != 48)
|
||||||
throw new Exception("invalid passkey configured: expected length: 32, got " + configData.Passkey.Value.Length.ToString());
|
throw new Exception("invalid passkey configured: expected length: 32 or 48, got " + configData.Passkey.Value.Length.ToString());
|
||||||
|
|
||||||
var results = await PerformQuery(new TorznabQuery());
|
var results = await PerformQuery(new TorznabQuery());
|
||||||
if (results.Count() == 0)
|
if (results.Count() == 0)
|
||||||
|
|
Loading…
Reference in a new issue