hide /h/isis too

master
Aevann 2024-04-27 00:45:19 +03:00
parent 084e0975e5
commit 603300f821
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ from flask import request
def can_see(user, obj):
if isinstance(obj, (Post, Comment)):
if not user and SITE == 'watchpeopledie.tv' and isinstance(obj, Post) and obj.hole == 'sandshit':
if not user and SITE == 'watchpeopledie.tv' and isinstance(obj, Post) and obj.hole in {'sandshit','isis'}:
return False
if not can_see(user, obj.author): return False