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:
df 2020-12-14 14:12:32 +00:00
parent 23483c8fa5
commit 397d383051
1 changed files with 2 additions and 2 deletions

View File

@ -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 {