Commit 38f267e0 authored by Nicolas Gattolin's avatar Nicolas Gattolin Committed by Romain Bignon

[afer] py3 port

Just usual transformations: unicode_literals and weboob compat imports
parent 5a8411fb
...@@ -17,9 +17,12 @@ ...@@ -17,9 +17,12 @@
# You should have received a copy of the GNU Affero General Public License # You should have received a copy of the GNU Affero General Public License
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from __future__ import unicode_literals
from random import randint from random import randint
from weboob.browser import URL, LoginBrowser, need_login from weboob.browser import URL, LoginBrowser, need_login
from weboob.exceptions import BrowserIncorrectPassword, BrowserUnavailable from weboob.exceptions import BrowserIncorrectPassword, BrowserUnavailable
from weboob.tools.compat import basestring
from .pages import LoginPage, IndexPage, BadLogin, AccountDetailPage, AccountHistoryPage from .pages import LoginPage, IndexPage, BadLogin, AccountDetailPage, AccountHistoryPage
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
# You should have received a copy of the GNU Affero General Public License # You should have received a copy of the GNU Affero General Public License
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from __future__ import unicode_literals
from weboob.capabilities.base import find_object from weboob.capabilities.base import find_object
from weboob.capabilities.bank import CapBankWealth, AccountNotFound from weboob.capabilities.bank import CapBankWealth, AccountNotFound
......
...@@ -17,6 +17,8 @@ ...@@ -17,6 +17,8 @@
# You should have received a copy of the GNU Affero General Public License # You should have received a copy of the GNU Affero General Public License
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from __future__ import unicode_literals
from random import randint from random import randint
import requests import requests
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
## ##
750g 750g
adecco adecco
afer
agendaculturel agendaculturel
agendadulibre agendadulibre
allrecipes allrecipes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment