exists -proc -> exists -command

Test was failing for `sqlite3.open`.
This commit is contained in:
df 2020-12-14 14:22:56 +00:00
parent 1c5698388c
commit 6ac4216d44
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
if {![exists -proc class]} { package require oo }
if {![exists -proc sqlite3.open]} { package require sqlite3 }
if {![exists -command class]} { package require oo }
if {![exists -command sqlite3.open]} { package require sqlite3 }
if {![file exists /mod/etc/webif.db]} {
set ::settingsdb [sqlite3.open /mod/etc/webif.db]