From b6865be910558d4aabb3b494406dda961408f8c0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 17 Jan 2023 14:29:12 +0000 Subject: [PATCH] Re-enable debug --- daemon.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/daemon.py b/daemon.py index b72fa6984..e08a9e535 100644 --- a/daemon.py +++ b/daemon.py @@ -15768,11 +15768,11 @@ class PubServer(BaseHTTPRequestHandler): # for news instances if not logged in then show the # front page divert_path = '/users/news' - # if debug: - print('DEBUG: divert_to_login_screen=' + - str(divert_to_login_screen)) - print('DEBUG: authorized=' + str(authorized)) - print('DEBUG: path=' + path) + if debug: + print('DEBUG: divert_to_login_screen=' + + str(divert_to_login_screen)) + print('DEBUG: authorized=' + str(authorized)) + print('DEBUG: path=' + path) if calling_domain.endswith('.onion') and onion_domain: self._redirect_headers('http://' + onion_domain + divert_path,