From ab15874754873a372b3fc7c001814c8bb39930b8 Mon Sep 17 00:00:00 2001 From: smurail Date: Wed, 15 Oct 2014 16:34:32 +0200 Subject: [PATCH] fix not logical arguments order --- weboob/tools/captcha/virtkeyboard.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/weboob/tools/captcha/virtkeyboard.py b/weboob/tools/captcha/virtkeyboard.py index 1a015346..5e24cbbf 100644 --- a/weboob/tools/captcha/virtkeyboard.py +++ b/weboob/tools/captcha/virtkeyboard.py @@ -202,10 +202,10 @@ class GridVirtKeyboard(VirtKeyboard): :param symbols: Sequence of symbols, ordered in the grid from left to right and up to down :type symbols: iterable - :param rows: Row count of the grid - :type rows: int :param cols: Column count of the grid :type cols: int + :param rows: Row count of the grid + :type rows: int :param image: File-like object to be used as data source :type image: file :param color: Color of the meaningful pixels @@ -219,7 +219,7 @@ class GridVirtKeyboard(VirtKeyboard): """ symbols = {} - def __init__(self, symbols, rows, cols, image, color, convert=None): + def __init__(self, symbols, cols, rows, image, color, convert=None): self.load_image(image, color, convert) tileW = float(self.width) / cols