From 73ea3d899dee84067e355dc4c3cea9ef833892fe Mon Sep 17 00:00:00 2001 From: WhatFox Date: Tue, 10 Nov 2015 21:25:01 +0000 Subject: [PATCH] Fix migration breaking the install --- src/Jackett/Services/ConfigurationService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jackett/Services/ConfigurationService.cs b/src/Jackett/Services/ConfigurationService.cs index 6c9b78216..4a7292275 100644 --- a/src/Jackett/Services/ConfigurationService.cs +++ b/src/Jackett/Services/ConfigurationService.cs @@ -110,7 +110,7 @@ namespace Jackett.Services var oldDir = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Jackett"); if (Directory.Exists(oldDir)) { - foreach (var file in Directory.GetFiles(oldDir, "*", SearchOption.AllDirectories)) + foreach (var file in Directory.GetFiles(oldDir, "*.json", SearchOption.AllDirectories)) { var path = file.Replace(oldDir, ""); var destPath = GetAppDataFolder() + path;