Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert regex to raw string #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ia-mfriegang
Copy link

This is a very simple fix for a bit of an edge case. For whatever reason, when trying to run the CLI in a container, I was getting the following warning from python:

/Twingate-CLI/libs/TGUtils.py:4: SyntaxWarning: invalid escape sequence '\.'

Making python interpret it as a raw string seems to clear that up. It may be wise to apply the same thing to the other regexes, although the \ character seems to be the only thing it complains about.

This was causing python to throw a warning:
`/Twingate-CLI/libs/TGUtils.py:4: SyntaxWarning: invalid escape sequence '\.'`
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.

1 participant