Fix login (timer, the return)

This commit is contained in:
Florent 2012-09-27 13:10:58 +02:00 committed by Romain Bignon
commit ef355e8d91
2 changed files with 3 additions and 1 deletions

View file

@ -34,6 +34,7 @@ class Freemobile(BaseBrowser):
'.*page=suiviconso': DetailsPage,
'.*page=consotel_current_month': HistoryPage
}
#DEBUG_HTTP = True
def home(self):
self.location('https://mobile.free.fr/moncompte/index.php')

View file

@ -18,6 +18,7 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
import time
import Image
from weboob.tools.browser import BasePage
@ -101,7 +102,7 @@ class FreeKeyboard(object):
def get_small(self, string):
for c in string:
#time.sleep(0.4)
time.sleep(0.5)
url = 'https://mobile.free.fr/moncompte/chiffre.php?pos=' + c + '&small=1'
self.basepage.browser.openurl(url)