diff options
author | neptune | 2022-12-17 05:45:36 -0300 |
---|---|---|
committer | Choom | 2022-12-17 05:51:28 -0300 |
commit | d1ba98fb315b50cd469a391843304b26af67d552 (patch) | |
tree | e67dc2fe6732d7c755adfb1320271b49c20ab0b3 /cgi | |
parent | a49c36268bf814751ff93096dcf79de762c74a1b (diff) | |
download | weabot-d1ba98fb315b50cd469a391843304b26af67d552.tar.gz weabot-d1ba98fb315b50cd469a391843304b26af67d552.tar.xz weabot-d1ba98fb315b50cd469a391843304b26af67d552.zip |
Actualizado debug
Diffstat (limited to 'cgi')
-rw-r--r-- | cgi/framework.py | 1 | ||||
-rw-r--r-- | cgi/post.py | 2 |
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 = [] |