Explorar el Código

Update BT.AutoUpdate.tcl

Daniel Voipan hace 5 años
padre
commit
edce55f1fe
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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} {