From 42c0f57ed3163ed4284732b4cdce4393dfc1822b Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Sun, 17 Mar 2024 21:30:08 -0400 Subject: bug fix: wrong call to function which did not need a DB argument --- importGrades2gradebook.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/importGrades2gradebook.tcl b/importGrades2gradebook.tcl index f343e3d..ca9daeb 100755 --- a/importGrades2gradebook.tcl +++ b/importGrades2gradebook.tcl @@ -518,7 +518,7 @@ proc pickCols2import { cols2import skipCreationCol categories2import db} { dbg "skipping column $col, it is in $skipCreationCol list" continue } - set colInfo [parseColName $col $db] + set colInfo [parseColName $col] set category [lindex $colInfo 1] if { $category ni $categories2import } { dbg [list skipping $col in $category, permitted categories: $categories2import] @@ -637,7 +637,7 @@ set cols2import [getColListFromAnyTable foreignDB export_table] set cols2import [ pickCols2import $cols2import $skipCreationCol $categories2import foreignDB] foreach col $cols2import { - set colInfo [parseColName $col foreignDB] + set colInfo [parseColName $col] set shortCol [lindex $colInfo 0] set category [lindex $colInfo 1] set maxScore [lindex $colInfo 2] -- cgit v1.2.3