mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-12-02 11:58:21 +08:00
修改打印多余字
This commit is contained in:
parent
3e1b0430a5
commit
468c97e960
@ -74,11 +74,11 @@ void GlobalInitializer::init() {
|
||||
}
|
||||
|
||||
void GlobalInitializer::clean() {
|
||||
if (CanUpgrade()) {
|
||||
if (runningInPython() && CanUpgrade()) {
|
||||
fmt::print(
|
||||
"\n====================================================================\n"
|
||||
"The new version of Hikyuu is {}, and you can run the upgrade command:\n"
|
||||
"Hikyuu 的最新新版本是 {}, 您可以运行升级命令:\n"
|
||||
"Hikyuu 的最新版本是 {}, 您可以运行升级命令:\n"
|
||||
"pip install hikyuu --upgrade\n"
|
||||
"========================================================\n\n",
|
||||
getLatestVersion(), getLatestVersion());
|
||||
|
Loading…
Reference in New Issue
Block a user