aboutsummaryrefslogtreecommitdiff
path: root/gradescope2gradebook.tcl
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2020-10-30 01:05:32 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2020-10-30 01:05:32 -0400
commitea3ccacf209d3e77ddacde27b41c0dee0579efd3 (patch)
treecb83e87c30ec0f8b63718522f504c38162d5bf97 /gradescope2gradebook.tcl
parent6152a8f194e752089104539f0769fa08af73dd14 (diff)
downloadGradeBook-ea3ccacf209d3e77ddacde27b41c0dee0579efd3.tar.gz
GradeBook-ea3ccacf209d3e77ddacde27b41c0dee0579efd3.zip
bug fix with category asignment
Diffstat (limited to 'gradescope2gradebook.tcl')
-rwxr-xr-xgradescope2gradebook.tcl3
1 files changed, 2 insertions, 1 deletions
diff --git a/gradescope2gradebook.tcl b/gradescope2gradebook.tcl
index 0f69faf..83e5b9a 100755
--- a/gradescope2gradebook.tcl
+++ b/gradescope2gradebook.tcl
@@ -108,9 +108,10 @@ foreach col [getColListFromAnyTable gdb gradescope] {
if { ![doesColumnExists $shortCol GradesTable] } {
puts "Adding: ${shortCol}"
- set result [regexp -nocase {pre-lab} $shortCol match]
+ set result [regexp -nocase "pre-lab" $shortCol match]
if { $result} {
AddColumnNonWeb $shortCol Quiz 10
+ continue
}
# everything else is labreport
AddColumnNonWeb $shortCol LabReport 100