Create imageCacheFolder
This commit is contained in:
parent
d5ecc1c37d
commit
16c1b5c506
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user