fix import of ControlNotFound on old versions of mechanize
This commit is contained in:
parent
cf3b30b1d1
commit
cedaaab0fb
1 changed files with 3 additions and 1 deletions
|
|
@ -18,7 +18,9 @@
|
||||||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|
||||||
from mechanize import ControlNotFoundError
|
from weboob.tools.mech import ClientForm
|
||||||
|
ControlNotFoundError = ClientForm.ControlNotFoundError
|
||||||
|
|
||||||
from decimal import Decimal
|
from decimal import Decimal
|
||||||
import re
|
import re
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue