From 31b4892c48725a8b5b281f89a52c1d3a9eefaf49 Mon Sep 17 00:00:00 2001 From: Laurent Bachelier Date: Thu, 21 Apr 2011 00:43:45 +0200 Subject: [PATCH] Add support for https in the id2url decorator --- weboob/tools/browser/decorators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weboob/tools/browser/decorators.py b/weboob/tools/browser/decorators.py index f6dfa111..85a1b9fc 100644 --- a/weboob/tools/browser/decorators.py +++ b/weboob/tools/browser/decorators.py @@ -35,7 +35,7 @@ def id2url(id2url): def wrapper(func): def inner(self, *args, **kwargs): arg = unicode(args[0]) - if arg.startswith('http://'): + if arg.startswith('http://') or arg.startswith('https://'): if self.DOMAIN in arg: url = arg else: