Merge pull request #52 from klkvr/master

Fix "'float' object cannot be interpreted as an integer" in Python 3.10.0
This commit is contained in:
Hsiaoming Yang
2022-01-01 16:03:15 +09:00
committed by GitHub

View File

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