mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-22 22:34:53 -04:00
Fixed: Adjust Sonarr references to Radarr (#1977)
This commit is contained in:
committed by
Leonardo Galli
parent
685c5daf36
commit
38af8edd59
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
@@ -108,7 +108,7 @@ namespace NzbDrone.Common.Disk
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public bool CanUseGDIPlus()
|
||||
{
|
||||
try
|
||||
@@ -129,7 +129,7 @@ namespace NzbDrone.Common.Disk
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
using (var bmp = new Bitmap(filename))
|
||||
@@ -150,7 +150,7 @@ namespace NzbDrone.Common.Disk
|
||||
|
||||
try
|
||||
{
|
||||
var testPath = Path.Combine(path, "sonarr_write_test.txt");
|
||||
var testPath = Path.Combine(path, "radarr_write_test.txt");
|
||||
var testContent = string.Format("This file was created to verify if '{0}' is writable. It should've been automatically deleted. Feel free to delete it.", path);
|
||||
File.WriteAllText(testPath, testContent);
|
||||
File.Delete(testPath);
|
||||
|
||||
Reference in New Issue
Block a user