From d74629ad83fd9374c0cf650c65d0d702cfb6d516 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Fri, 28 Oct 2022 21:48:08 -0400 Subject: generalize export db file name --- importGrades2gradebook.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'importGrades2gradebook.tcl') diff --git a/importGrades2gradebook.tcl b/importGrades2gradebook.tcl index d90fc7a..044948a 100755 --- a/importGrades2gradebook.tcl +++ b/importGrades2gradebook.tcl @@ -73,12 +73,12 @@ set DBDEBUG [expr {$params(d)}] set ADDSTUDENT [expr {$params(s)}] set classDB [lindex $argv 0] -set blackboardDB [lindex $argv 1] +set dbFileToExport [lindex $argv 1] puts [list Categories to import: $categories2import] sqlite3 db $classDB -sqlite3 foreignDB $blackboardDB +sqlite3 foreignDB $dbFileToExport proc iferror { err errStat {eval_str {""} }} { #return; # comment out when debugging -- cgit v1.2.3