Skip to content

Conversation

@fazer666
Copy link

Feb 2023 : SUEZ changed token name and encoding. Changed regex accordingly

@Kelesis
Copy link

Kelesis commented Feb 22, 2023

This might not work sometimes because the token itself can contains utf-8 escaped hyphen '-' for example. So the line to get the token should be:
self._token = result.group(1).encode().decode('unicode_escape')

and before trying to read the result, it should be tested as different of None, and raise a PySuezError if not so, for the next time the token is being moved ^^'

@laurent-martin
Copy link

Note: in case this module is no more maintained, I have created this one:

https://github.com/laurent-martin/py-mon-eau

https://pypi.org/project/toutsurmoneau/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants