diff --git a/logbot.py b/logbot.py index 8cc23b6..c7f500c 100644 --- a/logbot.py +++ b/logbot.py @@ -223,6 +223,8 @@ class Logbot(SingleServerIRCBot): raise e except ftplib.error_temp, e: # Reconnect on timeout self.set_ftp(connect_ftp()) + except ftplib.error, e: # Unsure of error, try reconnecting + self.set_ftp(connect_ftp()) print "Finished uploading"