Create imageCacheFolder

This commit is contained in:
glax 2023-05-31 21:39:18 +02:00
parent d5ecc1c37d
commit 16c1b5c506

View File

@ -27,6 +27,8 @@ public abstract class Connector
//RequestTypes for RateLimits
}, logger);
this.imageCachePath = imageCachePath;
if (!Directory.Exists(imageCachePath))
Directory.CreateDirectory(this.imageCachePath);
}
public abstract string name { get; } //Name of the Connector (e.g. Website)