Skip to content

Conversation

@Programie
Copy link

Right now, the following SyntaxWarning is printed:

/.../fritzconnection/core/soaper.py:207: SyntaxWarning: invalid escape sequence '\d'
  wifi_pwd_keys = 'New(WEPKey\d+|PreSharedKey|KeyPassphrase)'

This is caused as \ needs to be escaped in non-raw strings. To fix that, the string should be prefixed with r to mark it as a raw string (which could then include any escape sequences, not just something like \n).

@CrazyUs3r
Copy link

@kbr how long need to merge?

@kbr
Copy link
Owner

kbr commented Dec 15, 2025

This is known and fixed in the v2 branch. Beside this it is a warning and should get merged in v1 over the next public holidays.

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