my brain doesn't understand boolean logic
This commit is contained in:
parent
bcfa90a08a
commit
df87fb5337
@ -86,7 +86,7 @@ def DistribusiLimitReached():
|
|||||||
if user.tutor and distribusiamount > 14:
|
if user.tutor and distribusiamount > 14:
|
||||||
print("tutor already has 15 distribusis")
|
print("tutor already has 15 distribusis")
|
||||||
return True
|
return True
|
||||||
if distribusiamount > 4:
|
if not user.tutor and distribusiamount > 4:
|
||||||
print("user already has 5 distribusis")
|
print("user already has 5 distribusis")
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
Loading…
Reference in New Issue
Block a user