summaryrefslogtreecommitdiff
path: root/logbot.py
diff options
context:
space:
mode:
authorChris Oliver <excid3@gmail.com>2012-01-19 20:11:13 -0600
committerChris Oliver <excid3@gmail.com>2012-01-19 20:11:13 -0600
commit846df91396b88e904363f49f07e5b1c0371c117a (patch)
treee21adcb76fd622adfcfdfd073a8e97451d65b609 /logbot.py
parent67bc9c2691a826e50f612c492cff997e374301b5 (diff)
downloadlogbot-846df91396b88e904363f49f07e5b1c0371c117a.tar.xz
Catch all FTP errors
Diffstat (limited to 'logbot.py')
-rw-r--r--logbot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/logbot.py b/logbot.py
index 3a45c87..ecdcaaa 100644
--- a/logbot.py
+++ b/logbot.py
@@ -228,7 +228,7 @@ class Logbot(SingleServerIRCBot):
# Reconnect on timeout
except ftplib.error_temp, e: self.set_ftp(connect_ftp())
# Unsure of error, try reconnecting
- except ftplib.error, e: self.set_ftp(connect_ftp())
+ except: self.set_ftp(connect_ftp())
print "Finished uploading"