diff --git a/vnpy/trader/util_mail.py b/vnpy/trader/util_mail.py index c318c17a..9b55dd3e 100644 --- a/vnpy/trader/util_mail.py +++ b/vnpy/trader/util_mail.py @@ -63,7 +63,7 @@ class mail_thread(Thread): # print '发送成功' except Exception as e: #pass - print str(e) + print( str(e)) print("mail sent successful!") time.sleep(5)