Properly create directory, not file, ya doofus

This commit is contained in:
glax 2023-05-19 23:00:45 +02:00
parent 1d0883cbab
commit 78d8deb9de

View File

@ -100,9 +100,7 @@ public abstract class Connector
return;
//Create a temporary folder to store images
string tempFolder = Path.GetTempFileName();
File.Delete(tempFolder);
Directory.CreateDirectory(tempFolder);
string tempFolder = Directory.CreateTempSubdirectory().FullName;
int chapter = 0;
//Download all Images to temporary Folder