Bugfix/cannot add cardigann indexers (#1511)

* Line endings...

* Fix invalid ID for cardigann indexers (refactoring regression - my bad)
This commit is contained in:
chibidev
2017-06-29 20:46:36 +02:00
committed by kaso17
parent 75e7ce81c2
commit 11fd2db5a5
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ namespace Jackett.Indexers
public string Language { get; protected set; } public string Language { get; protected set; }
public Encoding Encoding { get; protected set; } public Encoding Encoding { get; protected set; }
public string Type { get; protected set; } public string Type { get; protected set; }
public string ID { get { return GetIndexerID(GetType()); } } public virtual string ID { get { return GetIndexerID (GetType ()); } }
public bool IsConfigured { get; protected set; } public bool IsConfigured { get; protected set; }
public TorznabCapabilities TorznabCaps { get; protected set; } public TorznabCapabilities TorznabCaps { get; protected set; }

View File

@@ -26,7 +26,7 @@ namespace Jackett.Indexers
{ {
public string DefinitionString { get; protected set; } public string DefinitionString { get; protected set; }
protected IndexerDefinition Definition; protected IndexerDefinition Definition;
public new string ID { get { return (Definition != null ? Definition.Site : GetIndexerID(GetType())); } } public override string ID { get { return (Definition != null ? Definition.Site : GetIndexerID (GetType ())); } }
protected WebClientStringResult landingResult; protected WebClientStringResult landingResult;
protected IHtmlDocument landingResultDocument; protected IHtmlDocument landingResultDocument;