From c3c9c7432b7e4cff48db3113a99461e3dd1c78e5 Mon Sep 17 00:00:00 2001 From: Benjamin Sigonneau Date: Sun, 27 Oct 2019 22:05:20 +0100 Subject: [PATCH] [orange] Fix StringIO import to be compatible with python3 With this fix, the module still works with python 2.7 --- modules/orange/pages/login.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/orange/pages/login.py b/modules/orange/pages/login.py index 7af3b77351..c305eb38dc 100644 --- a/modules/orange/pages/login.py +++ b/modules/orange/pages/login.py @@ -21,7 +21,7 @@ import lxml.html as html -from StringIO import StringIO +from io import StringIO from weboob.browser.pages import HTMLPage, LoggedPage, JsonPage from weboob.tools.json import json -- GitLab