diff options
author | Chris Oliver <excid3@gmail.com> | 2012-01-19 20:11:13 -0600 |
---|---|---|
committer | Chris Oliver <excid3@gmail.com> | 2012-01-19 20:11:13 -0600 |
commit | 846df91396b88e904363f49f07e5b1c0371c117a (patch) | |
tree | e21adcb76fd622adfcfdfd073a8e97451d65b609 /logbot.py | |
parent | 67bc9c2691a826e50f612c492cff997e374301b5 (diff) | |
download | logbot-846df91396b88e904363f49f07e5b1c0371c117a.tar.xz |
Catch all FTP errors
Diffstat (limited to 'logbot.py')
-rw-r--r-- | logbot.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |