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

Fix DeprecationWarning: invalid escape sequence #1

Merged
merged 1 commit into from
Aug 14, 2018

Conversation

BoboTiG
Copy link
Member

@BoboTiG BoboTiG commented Aug 14, 2018

Fixes several DeprecationWarning:

prettytable.py:76: DeprecationWarning: invalid escape sequence \[
  _re = re.compile("\033\[[0-9;]*m")
prettytable.py:929: DeprecationWarning: invalid escape sequence \{
  self.vertical_char = random.choice("~!@#$%^&*()_+|-=\{}[];':\",./;<>?")
prettytable.py:930: DeprecationWarning: invalid escape sequence \{
  self.horizontal_char = random.choice("~!@#$%^&*()_+|-=\{}[];':\",./;<>?")
prettytable.py:931: DeprecationWarning: invalid escape sequence \{
  self.junction_char = random.choice("~!@#$%^&*()_+|-=\{}[];':\",./;<>?")

@flaper87 flaper87 merged commit 0e6175d into master Aug 14, 2018
@BoboTiG BoboTiG deleted the fix-deprecation-warnings branch August 14, 2018 15:42
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.

2 participants