From e36d65898be4e6ded980748a19c167084f79d18b Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 5 Jun 2019 16:03:45 -0400 Subject: [PATCH] int --- sopel_modules/SpiceBot/AI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sopel_modules/SpiceBot/AI.py b/sopel_modules/SpiceBot/AI.py index daee7c5..850669e 100644 --- a/sopel_modules/SpiceBot/AI.py +++ b/sopel_modules/SpiceBot/AI.py @@ -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: