From 9e178af3d6bec0f5c639aa03010c2fa75b19dd5b Mon Sep 17 00:00:00 2001 From: Chris Oliver Date: Sat, 11 Dec 2010 16:43:01 -0600 Subject: Use FTP_WAIT and add a Back link --- logbot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'logbot.py') diff --git a/logbot.py b/logbot.py index 020cec5..fdfdd55 100644 --- a/logbot.py +++ b/logbot.py @@ -105,6 +105,7 @@ html_header = """

%title%

+ Back """ @@ -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"): -- cgit v1.2.3