mirror of https://github.com/Jackett/Jackett
Norbits: fix temp directory path generation
This commit is contained in:
parent
0db4229bd4
commit
a311509b7c
|
@ -16,6 +16,7 @@ using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using NLog;
|
using NLog;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
using System.IO;
|
||||||
|
|
||||||
namespace Jackett.Indexers
|
namespace Jackett.Indexers
|
||||||
{
|
{
|
||||||
|
@ -33,7 +34,7 @@ namespace Jackett.Indexers
|
||||||
private bool Latency => ConfigData.Latency.Value;
|
private bool Latency => ConfigData.Latency.Value;
|
||||||
private bool DevMode => ConfigData.DevMode.Value;
|
private bool DevMode => ConfigData.DevMode.Value;
|
||||||
private bool CacheMode => ConfigData.HardDriveCache.Value;
|
private bool CacheMode => ConfigData.HardDriveCache.Value;
|
||||||
private static string Directory => System.IO.Path.GetTempPath() + "Jackett\\" + MethodBase.GetCurrentMethod().DeclaringType?.Name + "\\";
|
private static string Directory => Path.Combine(Path.GetTempPath(), "Jackett", MethodBase.GetCurrentMethod().DeclaringType?.Name);
|
||||||
|
|
||||||
private readonly Dictionary<string, string> _emulatedBrowserHeaders = new Dictionary<string, string>();
|
private readonly Dictionary<string, string> _emulatedBrowserHeaders = new Dictionary<string, string>();
|
||||||
private CQ _fDom;
|
private CQ _fDom;
|
||||||
|
|
Loading…
Reference in New Issue