Skip to content

Commit 2e759af

Browse files
SnoopJExirel
andcommitted
Obtain quote/unquote directly from urllib.parse
Co-authored-by: Florian Strzelecki <[email protected]>
1 parent 6ff64c7 commit 2e759af

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sopel/modules/wikipedia.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@
1010
from html.parser import HTMLParser
1111
import logging
1212
import re
13-
from urllib.parse import urlparse
13+
from urllib.parse import quote, unquote, urlparse
1414

1515
from requests import get
1616

1717
from sopel import plugin
1818
from sopel.config import types
19-
from sopel.tools.web import quote, unquote
2019

2120

2221
LOGGER = logging.getLogger(__name__)

0 commit comments

Comments
 (0)