diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2022-10-28 21:48:08 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2022-10-28 21:48:08 -0400 |
commit | d74629ad83fd9374c0cf650c65d0d702cfb6d516 (patch) | |
tree | 7cc35dd84fe76f6764330f20af3ca56359667e88 | |
parent | 07764b253f35e8248f719d84c858fbe03172446e (diff) | |
download | GradeBook-d74629ad83fd9374c0cf650c65d0d702cfb6d516.tar.gz GradeBook-d74629ad83fd9374c0cf650c65d0d702cfb6d516.zip |
generalize export db file name
-rwxr-xr-x | importGrades2gradebook.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
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 |