aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-08-31 09:15:17 -0400
committerB. Stack <bgstack15@gmail.com>2023-08-31 09:15:17 -0400
commitc39a180af8b6aa148c5950aa58b792a9f4cea38f (patch)
treeecd5cf836de5672d931c0d76385b692e8b361ec5
parentuse local var instead of application.config (diff)
downloadnewspipe-c39a180af8b6aa148c5950aa58b792a9f4cea38f.tar.gz
newspipe-c39a180af8b6aa148c5950aa58b792a9f4cea38f.tar.bz2
newspipe-c39a180af8b6aa148c5950aa58b792a9f4cea38f.zip
improve debug by printf
-rw-r--r--newspipe/bootstrap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/newspipe/bootstrap.py b/newspipe/bootstrap.py
index 640f2e5f..ebda2a99 100644
--- a/newspipe/bootstrap.py
+++ b/newspipe/bootstrap.py
@@ -119,9 +119,9 @@ application.jinja_env.globals["application"] = application
def utility_processor():
def url_for(endpoint, **values):
""" Custom reverse-proxy support for url_for """
- print(f"DEBUG: generating url_for {endpoint}")
_uf = f_url_for(endpoint, **values)
if prefix:
_uf = str(prefix) + _uf
+ print(f"DEBUG: generating url_for {endpoint}, of {_uf}")
return _uf
return dict(url_for=url_for)
bgstack15