Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuler committed Dec 31, 2015
1 parent 6ff0308 commit b1a36bb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion install/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,11 @@ def _test_mail(self):
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
Expand Down

0 comments on commit b1a36bb

Please sign in to comment.