Skip to content

Commit

Permalink
fix: deprecation warnings due to invalid escape sequences. (apache#10710
Browse files Browse the repository at this point in the history
)

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

* fix: Fix black related errors.
  • Loading branch information
tirkarthi authored and auxten committed Nov 20, 2020
1 parent b9422a4 commit 0376f32
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions superset/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,7 @@ def _try_json_readsha( # pylint: disable=unused-argument
# ---------------------------------------------------------

# 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")
Expand Down

0 comments on commit 0376f32

Please sign in to comment.