Skip to content

Fix __create_indices: escape backslash inside triple quoted string#190

Open
Avalancs wants to merge 1 commit into
the4thdoctor:mainfrom
Avalancs:fix_idx_sql
Open

Fix __create_indices: escape backslash inside triple quoted string#190
Avalancs wants to merge 1 commit into
the4thdoctor:mainfrom
Avalancs:fix_idx_sql

Conversation

@Avalancs
Copy link
Copy Markdown

Noticed a warning when running the application from source that looked like this:

pg_chameleon/lib/pg_lib.py:404: SyntaxWarning: invalid escape sequence '\w'
  sql_get_idx = """

The backslash inside the triple quoted string needs to be escaped with another backslash per how python works.

thank you for this great software!

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