Skip to content

Commit cef5a7c

Browse files
author
farid
committed
update according to changes on suez's website
1 parent b186f64 commit cef5a7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pysuez/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def _get_token(self):
5050
headers['Cookie'] += "; "
5151
headers['Cookie'] += key + "=" + response.cookies[key]
5252

53-
phrase = re.compile('_csrf_token" value="(.*)" />')
53+
phrase = re.compile('_csrf_token" value="(.*)"/>')
5454
result = phrase.search(response.content.decode('utf-8'))
5555
self._token = result.group(1)
5656
self._headers = headers

0 commit comments

Comments
 (0)