diff --git a/modules/afer/browser.py b/modules/afer/browser.py
index 94b7c955fc3a46f23cd58c4d1944b0e2947ff4d2..088f405746b066ed1067de108fc8bc1af3708344 100644
--- a/modules/afer/browser.py
+++ b/modules/afer/browser.py
@@ -17,9 +17,12 @@
# You should have received a copy of the GNU Affero General Public License
# along with weboob. If not, see .
+from __future__ import unicode_literals
+
from random import randint
from weboob.browser import URL, LoginBrowser, need_login
from weboob.exceptions import BrowserIncorrectPassword, BrowserUnavailable
+from weboob.tools.compat import basestring
from .pages import LoginPage, IndexPage, BadLogin, AccountDetailPage, AccountHistoryPage
diff --git a/modules/afer/module.py b/modules/afer/module.py
index 44585e1e5b1bea5b4076230f283be74391096b84..fe3285429461488cc49dbd95535631b02e39835f 100644
--- a/modules/afer/module.py
+++ b/modules/afer/module.py
@@ -17,6 +17,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with weboob. If not, see .
+from __future__ import unicode_literals
from weboob.capabilities.base import find_object
from weboob.capabilities.bank import CapBankWealth, AccountNotFound
diff --git a/modules/afer/pages.py b/modules/afer/pages.py
index 33750996d99aed850982cc76cbf29cce68aaefc9..b4667f860803b9c7b78ee732c6ed4f6ecc152066 100644
--- a/modules/afer/pages.py
+++ b/modules/afer/pages.py
@@ -17,6 +17,8 @@
# You should have received a copy of the GNU Affero General Public License
# along with weboob. If not, see .
+from __future__ import unicode_literals
+
from random import randint
import requests
diff --git a/tools/py3-compatible.modules b/tools/py3-compatible.modules
index 06a3b2664bf401b04e9e7a774cf0deeb1b018c47..94b274d68fc974f1199ffc47c4234ca6c7915c1f 100644
--- a/tools/py3-compatible.modules
+++ b/tools/py3-compatible.modules
@@ -3,6 +3,7 @@
##
750g
adecco
+afer
agendaculturel
agendadulibre
allrecipes