This commit is contained in:
Merrick28 2023-12-07 15:47:11 +01:00
parent 30f334088f
commit d4a7ef3a83

View file

@ -161,9 +161,9 @@ public class Torrents
if (!Directory.Exists("/data/db/blackhole/")) if (!Directory.Exists("/data/db/blackhole/"))
{ {
Directory. CreateDirectory("/data/db/blackhole/"); Directory.CreateDirectory("/data/db/blackhole/");
} }
File.WriteAllBytes ("/data/db/blackhole" + hash + ".torrent", bytes); File.WriteAllBytes ("/data/db/blackhole/" + hash + ".torrent", bytes);
return newTorrent; return newTorrent;
} }