mirror of
https://github.com/markqvist/NomadNet.git
synced 2026-10-25 18:40:13 -04:00
Conv cache property
This commit is contained in:
parent
c0bcc1c2eb
commit
240e391a99
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue