fix: removed unnecessary lines of code

This commit is contained in:
Jannat Patel
2022-11-25 09:21:59 +05:30
parent 9a183d2ef1
commit 8b5a9e1639
5 changed files with 65 additions and 65 deletions
+1 -3
View File
@@ -6,8 +6,7 @@ from frappe import _
def get_context(context):
context.no_cache = 1
assignment = frappe.form_dict["assignment"]
print("assignment")
print(assignment)
if not has_course_moderator_role():
message = "Only Moderators have access to this page."
if frappe.session.user == "Guest":
@@ -21,4 +20,3 @@ def get_context(context):
["assignment", "comments", "status", "name", "member_name", "course", "lesson"],
as_dict=True,
)
print("call twice")