aboutsummaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorLibravatar neptune 2022-12-17 05:45:36 -0300
committerLibravatar Choom 2022-12-17 05:51:28 -0300
commitd1ba98fb315b50cd469a391843304b26af67d552 (patch)
treee67dc2fe6732d7c755adfb1320271b49c20ab0b3 /cgi
parenta49c36268bf814751ff93096dcf79de762c74a1b (diff)
downloadweabot-d1ba98fb315b50cd469a391843304b26af67d552.tar.gz
weabot-d1ba98fb315b50cd469a391843304b26af67d552.tar.xz
weabot-d1ba98fb315b50cd469a391843304b26af67d552.zip
Actualizado debug
Diffstat (limited to 'cgi')
-rw-r--r--cgi/framework.py1
-rw-r--r--cgi/post.py2
2 files changed, 1 insertions, 2 deletions
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 = []