Skip to content

Commit dfd7edc

Browse files
authored
Update client.py
1 parent d10b86c commit dfd7edc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Adyen/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,6 @@ def _handle_http_error(self, url, response_obj, status_code, psp_ref,
634634
@staticmethod
635635
def _get_psp(response, headers):
636636
psp_ref = response.get('pspReference')
637-
if not psp_ref:
637+
if psp_ref is None:
638638
psp_ref = headers.get('pspReference')
639639
return psp_ref

0 commit comments

Comments
 (0)