diff --git a/Tranga/Connector.cs b/Tranga/Connector.cs index 705e5db..932bfb5 100644 --- a/Tranga/Connector.cs +++ b/Tranga/Connector.cs @@ -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)