mirror of
https://github.com/lepture/captcha.git
synced 2026-03-13 09:43:22 +08:00
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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user