aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar TDavis 2019-03-30 05:07:13 -0300
committerLibravatar TDavis 2019-03-30 05:07:13 -0300
commitfe76402c6d2b60d00cb870b67bed4eeaf90f1138 (patch)
tree0d3cdfffbd8aae6a9538f36944856ffd786c35fb
parent95148eaa7d125704796a4a32e7ff3cef83c5f1d9 (diff)
downloadweabot-fe76402c6d2b60d00cb870b67bed4eeaf90f1138.tar.gz
weabot-fe76402c6d2b60d00cb870b67bed4eeaf90f1138.tar.xz
weabot-fe76402c6d2b60d00cb870b67bed4eeaf90f1138.zip
m
-rw-r--r--cgi/templates/banned.html2
-rwxr-xr-xcgi/weabot.py3
2 files changed, 2 insertions, 3 deletions
diff --git a/cgi/templates/banned.html b/cgi/templates/banned.html
index e61cb73..9e59699 100644
--- a/cgi/templates/banned.html
+++ b/cgi/templates/banned.html
@@ -53,7 +53,7 @@
<div class="title">ERROR: Se te ha prohibido el acceso</div>
<div class="description">Lo sentimos, tu IP (#{ip}) o red están en lista negra.
<ul>
- <?py if reason != "": ?>
+ <?py if reason: ?>
<li>La razón fue:
<b>#{reason}</b>
</li>
diff --git a/cgi/weabot.py b/cgi/weabot.py
index 237a944..3bcef7b 100755
--- a/cgi/weabot.py
+++ b/cgi/weabot.py
@@ -318,8 +318,7 @@ class weabot(object):
expire = ""
template_values = {
- 'cgi_url': Settings.CGI_URL,
- 'return_board': path_split[2],
+ #'return_board': path_split[2],
'boards_str': boards_str,
'reason': ban['reason'],
'added': formatTimestamp(ban["added"]),