Commit 02d3809c authored by Alan Marchiori's avatar Alan Marchiori
Browse files

removed course check

parent 3b9221b5
......@@ -176,7 +176,7 @@ def student_report(coursename, coursepath, labname, clone):
labnames = courses.load_labnames(coursename)
else:
labnames = [labname]
echo ("Generating grade report for {}.".format(labnames))
# load rubrics
rubrics = [courses.load_rubric(coursename, l) for l in labnames]
......
......@@ -76,10 +76,7 @@ if __name__ =="__main__":
# expose labtool version through config module
config.labtool_version = labtool_version
with config.UserConfig() as uc:
if 'courses' not in uc.cfg or len(uc.cfg['courses']) == 0:
error("No courses configured for labtool, use lt init!")
else:
main()
main()
except Exception as x:
error("Oops--Something went wrong in labtool ({}).".format(str(x)))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment