forked from rDrama/rDrama
delete tab
parent
72a2717e99
commit
71bc144cfe
|
@ -118,7 +118,7 @@ def stats():
|
||||||
"total awards": "{:,}".format(g.db.query(AwardRelationship).count()),
|
"total awards": "{:,}".format(g.db.query(AwardRelationship).count()),
|
||||||
"awards given": "{:,}".format(g.db.query(AwardRelationship).filter(or_(AwardRelationship.post_id != None, AwardRelationship.comment_id != None)).count()),
|
"awards given": "{:,}".format(g.db.query(AwardRelationship).filter(or_(AwardRelationship.post_id != None, AwardRelationship.comment_id != None)).count()),
|
||||||
"users who posted, commented, or voted in the past 7 days": "{:,}".format(g.db.query(User).filter(User.last_active > week).count()),
|
"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 SITE_NAME == 'rDrama' or FEATURES['HOUSES']:
|
||||||
stats2 = {
|
stats2 = {
|
||||||
|
|
Loading…
Reference in New Issue