Code tidy

This commit is contained in:
flightlevel 2019-03-06 21:25:06 +11:00
parent d07b6ae863
commit f146b3eaa6
1 changed files with 3 additions and 3 deletions

View File

@ -189,7 +189,7 @@ namespace Jackett.Common.Services
else
{
return Path.Combine(tempDirectory, "Jackett", "JackettUpdater.exe");
}
}
}
private string GetCurrentVersion()
@ -218,8 +218,8 @@ namespace Jackett.Common.Services
logger.Error("Temp dir doesn't exist: " + tempDir.ToString());
return;
}
try {
try {
DirectoryInfo d = new DirectoryInfo(tempDir);
foreach (var dir in d.GetDirectories("JackettUpdate-*"))
{