From e247fb950768ae2c93c49d7b2ba07cb742cfee5f Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Fri, 5 Sep 2014 09:41:43 -0400 Subject: db set moved forward so DB can be used in the html header constructor --- GradeBook.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'GradeBook.tcl') diff --git a/GradeBook.tcl b/GradeBook.tcl index 9c785f6..6bd6b52 100755 --- a/GradeBook.tcl +++ b/GradeBook.tcl @@ -83,9 +83,9 @@ dbg "[timestamp] requested action $action by user $user_requested DB $coursedbfn set dbfile "$GradebookServerConfig(grades_db_dir)/$coursedbfname" if { [file exists $dbfile] && ("$coursedbfname" ne "") } { + sqlite3 db $dbfile htmlHeader puts "" - sqlite3 db $dbfile set permission_list [ AccessGroupRights db $user ] htmlTop $permission_list -- cgit v1.2.3