forked from rDrama/rDrama
1
0
Fork 0

remove redundant if condition

master
Aevann 2023-11-25 21:46:16 +02:00
parent 71bc144cfe
commit a11c7172c0
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ def stats():
"users who posted, commented, or voted in the past 7 days": "{:,}".format(g.db.query(User).filter(User.last_active > week).count()),
}
if SITE_NAME == 'rDrama' or FEATURES['HOUSES']:
if FEATURES['HOUSES']:
stats2 = {
"House Furry members": "{:,}".format(g.db.query(User).filter(User.house.like('Furry%')).count()),
"House Femboy members": "{:,}".format(g.db.query(User).filter(User.house.like('Femboy%')).count()),