forked from hummypkg/webif
1
0
Fork 0

Add fetchhmt function to support lone .htm file operation

This commit is contained in:
prpr 2023-10-28 16:01:41 +01:00
parent 72c7e6e3b1
commit 043865aa00
1 changed files with 5 additions and 0 deletions

View File

@ -270,6 +270,11 @@ proc {ts fetch} {file {checked 0}} {
return [ts parse $file [ts exec $file]]
}
proc {ts fetchhmt} {file} {
if {[file extension $file] ne ".hmt"} { return 0 }
return [ts parse $file [ts exec $file]]
}
ts method delete {} {
foreach f [$self fileset] {
file tdelete $f