From 8021381de20778821e7f619e1be63df29f768374 Mon Sep 17 00:00:00 2001 From: ta264 Date: Mon, 16 Dec 2019 21:35:13 +0000 Subject: [PATCH] Fix mapper exception --- src/NzbDrone.Core/Datastore/TableMapping.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Datastore/TableMapping.cs b/src/NzbDrone.Core/Datastore/TableMapping.cs index 06bce9794..11f029df4 100644 --- a/src/NzbDrone.Core/Datastore/TableMapping.cs +++ b/src/NzbDrone.Core/Datastore/TableMapping.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Linq; using Dapper; using NzbDrone.Common.Reflection; using NzbDrone.Core.Authentication; @@ -171,7 +172,8 @@ namespace NzbDrone.Core.Datastore private static void RegisterProviderSettingConverter() { - var settingTypes = typeof(IProviderConfig).Assembly.ImplementationsOf(); + var settingTypes = typeof(IProviderConfig).Assembly.ImplementationsOf() + .Where(x => !x.ContainsGenericParameters); var providerSettingConverter = new ProviderSettingConverter(); foreach (var embeddedType in settingTypes)