Skip to content

Commit

Permalink
fix wrong removal
Browse files Browse the repository at this point in the history
  • Loading branch information
bguillot committed Jun 30, 2021
1 parent 0a63ea2 commit 4ce7978
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions prestapyt/prestapyt.py
Expand Up @@ -127,6 +127,9 @@ def _check_status_code(self, status_code, content):
403: 'Forbidden',
404: 'Not Found',
405: 'Method Not Allowed',
502: 'Bad Gateway',
503: 'Service Unavailable',
504: 'Gateway Time-out',
500: 'Internal Server Error',}
error_label = ('PrestaShop error: %d %s. %s')
if status_code in (200, 201):
Expand Down

0 comments on commit 4ce7978

Please sign in to comment.