pull/71/head
ibuler 2015-12-31 16:35:17 +08:00
parent 6ff030847e
commit b1a36bbb11
1 changed files with 4 additions and 1 deletions

View File

@ -127,8 +127,11 @@ class PreSetup(object):
smtp.quit()
return True
except (SMTPAuthenticationError, socket.timeout, socket.gaierror, SMTPSenderRefused, SMTPConnectError), e:
except Exception, e:
color_print(e, 'red')
skip = raw_input('是否跳过(y/n) [n]? : ')
if skip == 'y':
return True
return False
@staticmethod