diff --git a/captcha/image.py b/captcha/image.py index 86ef82e..8816566 100644 --- a/captcha/image.py +++ b/captcha/image.py @@ -32,7 +32,7 @@ else: table = [] for i in range( 256 ): - table.append( i * 1.97 ) + table.append( int(i * 1.97) ) class _Captcha(object):