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>2012-01-19 20:11:13 -0600
committerChris Oliver <excid3@gmail.com>2012-01-19 20:11:13 -0600
commit846df91396b88e904363f49f07e5b1c0371c117a (patch)
treee21adcb76fd622adfcfdfd073a8e97451d65b609
parent67bc9c2691a826e50f612c492cff997e374301b5 (diff)
Catch all FTP errors
-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"