Skip to content
This repository has been archived by the owner on Jun 2, 2021. It is now read-only.

Commit

Permalink
add some tips
Browse files Browse the repository at this point in the history
  • Loading branch information
adminerest committed Nov 24, 2019
1 parent cf6177b commit 30b69a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def get_unfinished_lessons(self):
lesson_info["id"]["questionnaireCoding"],
lesson_info["questionnaire"]["questionnaireName"],
lesson_info["id"]["evaluationContentNumber"],
lesson_info["evaluationContent"],
self.error)
lessons.append(lesson_data)
return lessons
Expand Down
3 changes: 3 additions & 0 deletions lesson.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@ def __init__(self,
questionnaireCode,
questionnaireName,
evaluationContentNumber,
evaluationContent,
error):
self.session = session
self.evaluatedPeopleNumber = evaluatedPeopleNumber
self.questionnaireCode = questionnaireCode
self.evaluationContentNumber = evaluationContentNumber
self.questionnaireName = questionnaireName
self.evaluatedPeople = evaluatedPeople
self.evaluationContent = evaluationContent
self.error = error

'''单门课程进行评教'''
Expand All @@ -33,6 +35,7 @@ def evaluate(self):
"questionnaireName": self.questionnaireName,
"evaluatedPeople": self.evaluatedPeople,
"evaluationContentContent": ""}
self.error.set("正在评价" + self.evaluationContent)
url = "https://urp.shou.edu.cn/student/teachingEvaluation/teachingEvaluation/evaluationPage"
try:
html = self.session.post(url=url, data=data, timeout=5)
Expand Down

0 comments on commit 30b69a5

Please sign in to comment.