diff --git a/Wikifetch/plugin.py b/Wikifetch/plugin.py index 19f1e92..6f7d9a2 100644 --- a/Wikifetch/plugin.py +++ b/Wikifetch/plugin.py @@ -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."""