Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Oliver <excid3@gmail.com>2010-12-11 16:43:01 -0600
committerChris Oliver <excid3@gmail.com>2010-12-11 16:43:01 -0600
commit9e178af3d6bec0f5c639aa03010c2fa75b19dd5b (patch)
treeb7649f6ee6c41628655d5bfad6d413eff54b6884
parent65c3a135047e31618130900ceefa1257c1cb3e23 (diff)
Use FTP_WAIT and add a Back link
-rw-r--r--logbot.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/logbot.py b/logbot.py
index 020cec5..fdfdd55 100644
--- a/logbot.py
+++ b/logbot.py
@@ -105,6 +105,7 @@ html_header = """<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
</head>
<body>
<h1>%title%</h1>
+ <a href="..">Back</a>
</body>
</html>
"""
@@ -189,7 +190,7 @@ class Logbot(SingleServerIRCBot):
self.count += 1
- if self.ftp and self.count > 25:
+ if self.ftp and self.count > FTP_WAIT:
self.count = 0
print "Uploading to FTP..."
for root, dirs, files in os.walk("logs"):