diff options
author | TDavis | 2019-03-30 05:07:13 -0300 |
---|---|---|
committer | TDavis | 2019-03-30 05:07:13 -0300 |
commit | fe76402c6d2b60d00cb870b67bed4eeaf90f1138 (patch) | |
tree | 0d3cdfffbd8aae6a9538f36944856ffd786c35fb | |
parent | 95148eaa7d125704796a4a32e7ff3cef83c5f1d9 (diff) | |
download | weabot-fe76402c6d2b60d00cb870b67bed4eeaf90f1138.tar.gz weabot-fe76402c6d2b60d00cb870b67bed4eeaf90f1138.tar.xz weabot-fe76402c6d2b60d00cb870b67bed4eeaf90f1138.zip |
m
-rw-r--r-- | cgi/templates/banned.html | 2 | ||||
-rwxr-xr-x | cgi/weabot.py | 3 |
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"]), |