update
This commit is contained in:
parent
580e42e3fc
commit
72bbb02dc9
@ -28,6 +28,18 @@ if SERVICES_OPENAI:
|
||||
#######################################################################################
|
||||
|
||||
dir_path = os.path.dirname(os.path.realpath(__file__))
|
||||
|
||||
#######################################################################################
|
||||
#######################################################################################
|
||||
|
||||
PATH='%s/../personalities' % dir_path
|
||||
FILE='%s/../personalities/default.db' % dir_path
|
||||
if not os.path.exists(PATH):
|
||||
os.mkdir(PATH)
|
||||
if not os.path.exists(FILE):
|
||||
f=open(FILE,'w')
|
||||
f.write("")
|
||||
f.close()
|
||||
|
||||
#######################################################################################
|
||||
#######################################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user