aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-08-31 08:34:16 -0400
committerB. Stack <bgstack15@gmail.com>2023-08-31 08:34:16 -0400
commitb49017710f41810606f97e2d47250b0f0c8cb5bd (patch)
treed7a2b97e4c4f43f03aad90fd9ad9580de443dcc0
parenttry DispatcherMiddleware (diff)
downloadnewspipe-b49017710f41810606f97e2d47250b0f0c8cb5bd.tar.gz
newspipe-b49017710f41810606f97e2d47250b0f0c8cb5bd.tar.bz2
newspipe-b49017710f41810606f97e2d47250b0f0c8cb5bd.zip
fix braces typo
-rw-r--r--newspipe/bootstrap.py2
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)
bgstack15