diff options
author | B. Stack <bgstack15@gmail.com> | 2023-08-31 08:34:16 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2023-08-31 08:34:16 -0400 |
commit | b49017710f41810606f97e2d47250b0f0c8cb5bd (patch) | |
tree | d7a2b97e4c4f43f03aad90fd9ad9580de443dcc0 | |
parent | try DispatcherMiddleware (diff) | |
download | newspipe-b49017710f41810606f97e2d47250b0f0c8cb5bd.tar.gz newspipe-b49017710f41810606f97e2d47250b0f0c8cb5bd.tar.bz2 newspipe-b49017710f41810606f97e2d47250b0f0c8cb5bd.zip |
fix braces typo
-rw-r--r-- | newspipe/bootstrap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newspipe/bootstrap.py b/newspipe/bootstrap.py index a5ebc862..c353a936 100644 --- a/newspipe/bootstrap.py +++ b/newspipe/bootstrap.py @@ -75,7 +75,7 @@ set_logging(application.config["LOG_PATH"]) if "PREFIX" in application.config: #application.wsgi_app = ReverseProxied(application.wsgi_app, script_name=application.config["PREFIX"]) _app = application - application = DispatcherMiddleware(None,str({application.config["PREFIX"]}):_app}) + application = DispatcherMiddleware(None,{str(application.config["PREFIX"]):_app}) db = SQLAlchemy(application) |