Skip to content

Commit 1eb75ba

Browse files
committed
Fixed bug in string formatting.
1 parent 0a33cd6 commit 1eb75ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/onelogin/saml2/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def process_response(self, request_id=None):
117117
else:
118118
self.__errors.append('invalid_binding')
119119
raise OneLogin_Saml2_Error(
120-
'SAML Response not found for binding %s'.format(acs_binding.split(':')[-1]),
120+
'SAML Response not found for binding %s' % acs_binding.split(':')[-1],
121121
OneLogin_Saml2_Error.SAML_RESPONSE_NOT_FOUND
122122
)
123123

0 commit comments

Comments
 (0)