From 95ba8e1fb758cb8fe90fdd2ccec1faccfb1627cc Mon Sep 17 00:00:00 2001 From: Karthikeyan Singaravelan Date: Tue, 22 Sep 2020 20:33:58 +0530 Subject: [PATCH] fix: deprecation warnings due to invalid escape sequences. (#10710) * fix: Fix deprecation warnings due to invalid escape sequences. * fix: Fix black related errors. --- superset/config.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/superset/config.py b/superset/config.py index 02070ad29f..ff64478190 100644 --- a/superset/config.py +++ b/superset/config.py @@ -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")