소스 검색

Update BT.AutoUpdate.tcl

Daniel Voipan 5 년 전
부모
커밋
edce55f1fe
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      BlackTools/Modules/BT.AutoUpdate.tcl

+ 1 - 1
BlackTools/Modules/BT.AutoUpdate.tcl

@@ -36,7 +36,7 @@ if {[catch {package require github} no_github] != 0} {
 if {[catch {package require tls} no_tls] != 0} {
     return 0
 } else {
-    set tls_version [package versions tls]
+    set tls_version [lindex [package versions tls] 0]
     set need_version "1.7.18"
     set compare [package vcompare $tls_version $need_version]
 if {$compare < 0} {