mirror of
https://github.com/Jackett/Jackett
synced 2025-02-21 22:07:10 +00:00
Code tidy
This commit is contained in:
parent
d07b6ae863
commit
f146b3eaa6
1 changed files with 3 additions and 3 deletions
|
@ -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-*"))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue