8000 changed string format for python 2 compat · yezzatech/wc-api-python@7c8ef2f · GitHub
[go: up one dir, main page]

Skip to content

Commit 7c8ef2f

Browse files
committed
changed string format for python 2 compat
1 parent 9d92345 commit 7c8ef2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

woocommerce/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def __request(self, method, endpoint, data, params=None, **kwargs):
7878
})
7979
else:
8080
encoded_params = urlencode(params)
81-
url = "{url}?{params}".format(url=url, params=encoded_params)
81+
url = "%s?%s" % (url, encoded_params)
8282
url = self.__get_oauth_url(url, method)
8383

8484
if data is not None:

0 commit comments

Comments
 (0)
0