chore: fixed linters

This commit is contained in:
Jannat Patel
2024-07-12 19:58:52 +05:30
parent 1db6a8bfda
commit 4943e0e902

View File

@@ -71,7 +71,6 @@ class LMSCertificate(Document):
def has_website_permission(doc, ptype, user, verbose=False):
print(doc.member, user, ptype)
if ptype in ["read", "print"]:
return True
if doc.member == user and ptype == "create":