aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-08-31 08:20:08 -0400
committerB. Stack <bgstack15@gmail.com>2023-08-31 08:20:08 -0400
commit902042ddd2f2cdafa76ac66f4911433a58fc20bb (patch)
tree2e6b1a79ceca602352d79b0728c07c5236ed0405
parentadd newspipe.lib.utils url_for() (diff)
downloadnewspipe-902042ddd2f2cdafa76ac66f4911433a58fc20bb.tar.gz
newspipe-902042ddd2f2cdafa76ac66f4911433a58fc20bb.tar.bz2
newspipe-902042ddd2f2cdafa76ac66f4911433a58fc20bb.zip
debug by printf
-rw-r--r--newspipe/lib/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/newspipe/lib/utils.py b/newspipe/lib/utils.py
index 0ac0a28b..eb20ff4b 100644
--- a/newspipe/lib/utils.py
+++ b/newspipe/lib/utils.py
@@ -14,6 +14,7 @@ logger = logging.getLogger(__name__)
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 application.config and "PREFIX" in application.config:
_uf = str(application.config("PREFIX")) + _uf
bgstack15