Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-proctoring
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
edx-proctoring
Commits
614e8571
Commit
614e8571
authored
Oct 05, 2015
by
Muhammad Shoaib
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed the bug
- added the default value to the timed_exam_only parameter in the api methods
parent
a081a0d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
edx_proctoring/api.py
+2
-2
No files found.
edx_proctoring/api.py
View file @
614e8571
...
...
@@ -199,7 +199,7 @@ def add_allowance_for_user(exam_id, user_info, key, value):
ProctoredExamStudentAllowance
.
add_allowance_for_user
(
exam_id
,
user_info
,
key
,
value
)
def
get_allowances_for_course
(
course_id
,
timed_exams_only
):
def
get_allowances_for_course
(
course_id
,
timed_exams_only
=
False
):
"""
Get all the allowances for the course.
"""
...
...
@@ -805,7 +805,7 @@ def remove_exam_attempt(attempt_id):
)
def
get_all_exams_for_course
(
course_id
,
timed_exams_only
,
active_only
=
False
):
def
get_all_exams_for_course
(
course_id
,
timed_exams_only
=
False
,
active_only
=
False
):
"""
This method will return all exams for a course. This will return a list
of dictionaries, whose schema is the same as what is returned in
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment