fix: deprecation warnings due to invalid escape sequences. (#10710)

* fix: Fix deprecation warnings due to invalid escape sequences.

* fix: Fix black related errors.
This commit is contained in:
Karthikeyan Singaravelan 2020-09-22 20:33:58 +05:30 committed by GitHub
parent bd140e018a
commit 95ba8e1fb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -146,9 +146,7 @@ SQLALCHEMY_TRACK_MODIFICATIONS = False
# ---------------------------------------------------------
# Your App secret key
SECRET_KEY = (
"\2\1thisismyscretkey\1\2\e\y\y\h" # pylint: disable=anomalous-backslash-in-string
)
SECRET_KEY = "\2\1thisismyscretkey\1\2\\e\\y\\y\\h"
# The SQLAlchemy connection string.
SQLALCHEMY_DATABASE_URI = "sqlite:///" + os.path.join(DATA_DIR, "superset.db")