This commit is contained in:
.[d]. 2023-03-15 15:15:40 -05:00
parent 580e42e3fc
commit 72bbb02dc9

@ -32,6 +32,18 @@ if SERVICES_OPENAI:
#######################################################################################
#######################################################################################
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()
#######################################################################################
#######################################################################################
def getenv(s):
try:
s = os.environ[s]