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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy