use snake case
This commit is contained in:
parent
504b6c4c77
commit
406c42eb54
1 changed files with 2 additions and 2 deletions
|
|
@ -71,7 +71,7 @@ class Captcha:
|
|||
|
||||
yy += 1
|
||||
|
||||
self.map[tile.getNum()] = tile
|
||||
self.map[tile.get_num()] = tile
|
||||
|
||||
x += 26
|
||||
tx += 1
|
||||
|
|
@ -107,7 +107,7 @@ class Tile:
|
|||
s += '%02d' % pxl
|
||||
return hashlib.md5(s).hexdigest()
|
||||
|
||||
def getNum(self):
|
||||
def get_num(self):
|
||||
sum = self.checksum()
|
||||
try:
|
||||
return self.hash[sum]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue