Skip to content

Commit 1f30f17

Browse files
Removed legacy support
1 parent 122eac0 commit 1f30f17

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

woocommerce/api.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,7 @@
1414
from time import time
1515
from woocommerce.oauth import OAuth
1616
from requests.auth import HTTPBasicAuth
17-
18-
try:
19-
from urllib.parse import urlencode
20-
except ImportError:
21-
from urllib import urlencode
17+
from urllib.parse import urlencode
2218

2319

2420
class API(object):

0 commit comments

Comments
 (0)