This commit is contained in:
deathbybandaid 2019-06-05 16:03:45 -04:00
parent 897d0c964f
commit e36d65898b

View File

@ -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: