mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
int
This commit is contained in:
parent
897d0c964f
commit
e36d65898b
@ -102,7 +102,7 @@ class SpiceBot_AI():
|
||||
data = open(aimlfile).read()
|
||||
count = data.count('pattern')
|
||||
count = count / 2
|
||||
self.dict["patterncounts"] += count
|
||||
self.dict["patterncounts"] += int(count)
|
||||
|
||||
tempbrain = tempfile.mkstemp()[1]
|
||||
with open(tempbrain, 'w') as fileo:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user