Wikifetch: fix quote_plus import

This commit is contained in:
James Lu 2017-09-07 19:20:21 -07:00
parent f45cb0d5e7
commit 400ffd7899

View File

@ -51,7 +51,7 @@ if sys.version_info[0] < 3:
raise ImportError('This plugin requires Python 3. For a legacy version of this plugin that still '
'supports Python 2, consult the python2-legacy branch at '
'https://github.com/GLolol/SupyPlugins/tree/python2-legacy')
from urllib import quote_plus
from urllib.parse import quote_plus
class Wikifetch(callbacks.Plugin):
"""Grabs data from Wikipedia and other MediaWiki-powered sites."""