diff --git a/config.py b/config.py index bbd32e6..e66ea46 100644 --- a/config.py +++ b/config.py @@ -27,6 +27,8 @@ # POSSIBILITY OF SUCH DAMAGE. ### +from __future__ import division + import time import supybot.conf as conf @@ -64,7 +66,7 @@ conf.registerChannelValue(BadWords,'requireWordBoundaries', class String256(registry.String): def __call__(self): s = registry.String.__call__(self) - return s * (1024/len(s)) + return s * (1024//len(s)) def __str__(self): return self.value