From 406c42eb540c5a6a5ebcf593fb66616f8f733ac4 Mon Sep 17 00:00:00 2001 From: Christophe Benz Date: Tue, 22 Jun 2010 15:57:00 +0200 Subject: [PATCH] use snake case --- weboob/backends/bnporc/captcha.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weboob/backends/bnporc/captcha.py b/weboob/backends/bnporc/captcha.py index 6a7511b4..6c59d0ae 100644 --- a/weboob/backends/bnporc/captcha.py +++ b/weboob/backends/bnporc/captcha.py @@ -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]