From d1ba98fb315b50cd469a391843304b26af67d552 Mon Sep 17 00:00:00 2001 From: neptune Date: Sat, 17 Dec 2022 05:45:36 -0300 Subject: Actualizado debug --- cgi/framework.py | 1 - cgi/post.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'cgi') diff --git a/cgi/framework.py b/cgi/framework.py index 6056a30..cfc1fd3 100644 --- a/cgi/framework.py +++ b/cgi/framework.py @@ -22,7 +22,6 @@ def setBoard(dir): """ if not dir: raise UserError(_("The specified board is invalid.")) - logging.debug("Seteando el board " + dir) board = FetchOne("SELECT * FROM `boards` WHERE `dir` = %s LIMIT 1", (dir,)) if not board: raise UserError(_("The specified board is invalid.")) diff --git a/cgi/post.py b/cgi/post.py index b80b17d..826816a 100644 --- a/cgi/post.py +++ b/cgi/post.py @@ -813,8 +813,8 @@ def trimThreads(): """ Delete any threads which have passed the MAX_THREADS setting """ - logging.debug("Trimming threads") board = Settings._.BOARD + logging.debug("Trimming threads (%s)" % board["dir"]) archived = False trimmed = [] -- cgit v1.2.1-18-gbd029