Skip to content

Commit f73ad99

Browse files
authored
Merge pull request #12 from ippo615/patch-1
Fixed typo in _post ("foramt" -> "format")
2 parents 0fdb62e + c7c02bb commit f73ad99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wordpress/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def _post(self, endpoint, data={}, params={}):
110110

111111
if not resp.status_code == 200:
112112
msg = ('WordPress REST API returned the status code '
113-
'{0}.'.foramt(resp.status_code))
113+
'{0}.'.format(resp.status_code))
114114
raise Exception(msg)
115115

116116
return resp.json()

0 commit comments

Comments
 (0)