aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Señor X 2019-04-03 22:45:51 -0300
committerLibravatar Señor X 2019-04-03 22:45:51 -0300
commit7d62e3d0ec4f96d6708e0946dffd81bded9f0aca (patch)
treed0d1123cfd85f41192463474a248af1fcde8f2a4
parentcae2ea613d15457e5ed5026f3b06d2c2b021ae7b (diff)
parentd243940d60393b7627e0fbbfb8859f84d410d97e (diff)
downloadweabot-7d62e3d0ec4f96d6708e0946dffd81bded9f0aca.tar.gz
weabot-7d62e3d0ec4f96d6708e0946dffd81bded9f0aca.tar.xz
weabot-7d62e3d0ec4f96d6708e0946dffd81bded9f0aca.zip
Quitando debug de polka
-rw-r--r--cgi/framework.py2
-rw-r--r--cgi/templates/txt_base_top.html6
2 files changed, 1 insertions, 7 deletions
diff --git a/cgi/framework.py b/cgi/framework.py
index 651814c..8c43d02 100644
--- a/cgi/framework.py
+++ b/cgi/framework.py
@@ -361,8 +361,6 @@ def setCookie(self, key, value="", max_age=None, expires=None, path="/", domain=
if not domain is None:
if domain != "THIS":
self._newcookies[key]["domain"] = domain
- else:
- self._newcookies[key]["domain"] = Settings.DOMAIN
if not secure is None:
self._newcookies[key]["secure"] = secure
diff --git a/cgi/templates/txt_base_top.html b/cgi/templates/txt_base_top.html
index 91052d6..7499fb4 100644
--- a/cgi/templates/txt_base_top.html
+++ b/cgi/templates/txt_base_top.html
@@ -31,14 +31,10 @@
<?py if board in ['zonavip', 'world']: ?>
<link rel="stylesheet" href="/static/css/txt/sjis.css" />
<?py #endif ?>
-<?py if board == 'polka': ?>
- <script type="text/javascript" src="#{static_url}js/weabotxt.test.js"></script>
-<?py else: ?>
<script type="text/javascript" src="#{static_url}js/weabotxt.js"></script>
-<?py #endif ?>
<script type="text/javascript" src="#{static_url}js/aquiencitas.js"></script>
<script type="text/javascript" src="#{static_url}js/shobon.js"></script>
-<?py if replythread and board != 'polka': ?>
+<?py if replythread: ?>
<script type="text/javascript" src="#{static_url}js/autorefresh.js"></script>
<?py #endif ?>
</head>