exists -proc -> exists -command
`sqlite3.open` is currently a command, so the test for it as a proc fails, presumably not what was intended.
This commit is contained in:
parent
23483c8fa5
commit
397d383051
|
@ -1,7 +1,7 @@
|
|||
source /mod/webif/lib/setup
|
||||
|
||||
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 }
|
||||
require system.class
|
||||
|
||||
class svc {
|
||||
|
|
Loading…
Reference in New Issue