Import urllib submodules
otpclient only imported the urllib parent package, not urllib.request and urllib.parse subpackages. This may or may not work depending on the import order of other plugins. Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
1 parent
dc113a0a31
commit
e73fdcf8ba
1 file changed
+2
-1
@@ -34,7 +34,8 @@ import qrcode
|
||||
|
||||
import six
|
||||
from io import StringIO
|
||||
import urllib
|
||||
import urllib.parse
|
||||
import urllib.request
|
||||
|
||||
if six.PY3:
|
||||
unicode = str
|
||||
|
||||
Reference in new issue
Block a user