chore: fixed linters
This commit is contained in:
@@ -71,7 +71,6 @@ class LMSCertificate(Document):
|
|||||||
|
|
||||||
|
|
||||||
def has_website_permission(doc, ptype, user, verbose=False):
|
def has_website_permission(doc, ptype, user, verbose=False):
|
||||||
print(doc.member, user, ptype)
|
|
||||||
if ptype in ["read", "print"]:
|
if ptype in ["read", "print"]:
|
||||||
return True
|
return True
|
||||||
if doc.member == user and ptype == "create":
|
if doc.member == user and ptype == "create":
|
||||||
|
|||||||
Reference in New Issue
Block a user