Conv cache property

This commit is contained in:
Mark Qvist 2026-09-10 16:31:04 +02:00
parent c0bcc1c2eb
commit 240e391a99
No known key found for this signature in database

View file

@ -113,6 +113,7 @@ class NomadNetworkApp:
self.identitypath = self.configdir+"/storage/identity"
self.cachepath = self.configdir+"/storage/cache"
self.imagecachepath = self.configdir+"/storage/cache/images"
self.convcachepath = self.configdir+"/storage/cache/images/converted"
self.resourcepath = self.configdir+"/storage/resources"
self.conversationpath = self.configdir+"/storage/conversations"
self.directorypath = self.configdir+"/storage/directory"
@ -179,6 +180,9 @@ class NomadNetworkApp:
if not os.path.isdir(self.imagecachepath):
os.makedirs(self.imagecachepath)
if not os.path.isdir(self.convcachepath):
os.makedirs(self.convcachepath)
if not os.path.isdir(self.resourcepath):
os.makedirs(self.resourcepath)