mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-12 22:49:53 -05:00
only open aiml files
This commit is contained in:
parent
b5d0db4ff2
commit
27e7b39b14
@ -78,7 +78,7 @@ class SpiceBot_AI():
|
|||||||
" </template>\n"
|
" </template>\n"
|
||||||
" </category>\n"
|
" </category>\n"
|
||||||
# "</aiml>".format(str(dirnumber), os.path.join(braindir, "*"))
|
# "</aiml>".format(str(dirnumber), os.path.join(braindir, "*"))
|
||||||
"</aiml>".format(os.path.join(braindir, "*"))
|
"</aiml>".format(os.path.join(braindir, "*.aiml"))
|
||||||
)
|
)
|
||||||
self.aiml_kernel.learn(tempbrain)
|
self.aiml_kernel.learn(tempbrain)
|
||||||
self.aiml_kernel.respond("LOAD AIML B")
|
self.aiml_kernel.respond("LOAD AIML B")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user