From 84c289832bb4e472d570b2d098e19c106f6a2bbd Mon Sep 17 00:00:00 2001 From: TOW Date: Fri, 29 Mar 2019 09:15:52 -0300 Subject: Bumpeada versiĆ³n --- cgi/templates/revision.html | 2 +- cgi/weabot.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cgi') diff --git a/cgi/templates/revision.html b/cgi/templates/revision.html index 1e9b46b..6201b5f 100644 --- a/cgi/templates/revision.html +++ b/cgi/templates/revision.html @@ -1 +1 @@ -0.8.7 +0.8.8 diff --git a/cgi/weabot.py b/cgi/weabot.py index 056a933..f2bae10 100755 --- a/cgi/weabot.py +++ b/cgi/weabot.py @@ -22,7 +22,7 @@ from formatting import * from post import * from img import * -__version__ = "0.8.7" +__version__ = "0.8.8" # Set to True to disable weabot's exception routing and enable profiling _DEBUG = False -- cgit v1.2.1-18-gbd029 From 87136e725c4f0038b59f89914f196475c387bb6e Mon Sep 17 00:00:00 2001 From: TOW Date: Fri, 29 Mar 2019 09:25:05 -0300 Subject: API ahora retorna boards en orden --- cgi/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cgi') diff --git a/cgi/api.py b/cgi/api.py index 86ada3a..ce1e467 100644 --- a/cgi/api.py +++ b/cgi/api.py @@ -42,7 +42,7 @@ def api_process(self, path_split): values = {'state': 'success'} if method == 'boards': - boards = FetchAll('SELECT dir, name, board_type, allow_images, allow_image_replies, maxsize FROM `boards` WHERE `secret`=0 ORDER BY `name` ASC') + boards = FetchAll('SELECT dir, name, board_type, allow_images, allow_image_replies, maxsize FROM `boards` WHERE `secret`=0 ORDER BY `sort` ASC') values['boards'] = boards for board in values['boards']: board['board_type'] = int(board['board_type']) -- cgit v1.2.1-18-gbd029