As a professor, adding a section, a pg8000.ProgrammingError (normally caused by bad syntax) is raised when adding a course. The origin of this error is an invocation of cursor.execute() at dbhandler.py:89 inside createCourse():
t.execute("""INSERT INTO course(code) VALUES (%s)""", (courseCode,))
As a professor, adding a section, a
pg8000.ProgrammingError
(normally caused by bad syntax) is raised when adding a course. The origin of this error is an invocation ofcursor.execute()
atdbhandler.py:89
insidecreateCourse()
: