From 400ffd789954d25e6e3adf0dcd510f7da1d54f01 Mon Sep 17 00:00:00 2001 From: James Lu Date: Thu, 7 Sep 2017 19:20:21 -0700 Subject: [PATCH] Wikifetch: fix quote_plus import --- Wikifetch/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."""