forked from rDrama/rDrama
do what g-sex wants
parent
cb48c6428d
commit
ed3ab121d0
|
@ -577,6 +577,7 @@ PROGSTACK_ID = 4
|
||||||
CARP_ID = 0
|
CARP_ID = 0
|
||||||
AEVANN_ID = 0
|
AEVANN_ID = 0
|
||||||
SNAKES_ID = 0
|
SNAKES_ID = 0
|
||||||
|
GTIX_ID = 0
|
||||||
JUSTCOOL_ID = 0
|
JUSTCOOL_ID = 0
|
||||||
LAWLZ_ID = 0
|
LAWLZ_ID = 0
|
||||||
TGTW_ID = 0
|
TGTW_ID = 0
|
||||||
|
@ -846,6 +847,7 @@ elif SITE == 'watchpeopledie.tv':
|
||||||
CARP_ID = 48
|
CARP_ID = 48
|
||||||
AEVANN_ID = 9
|
AEVANN_ID = 9
|
||||||
SNAKES_ID = 32
|
SNAKES_ID = 32
|
||||||
|
GTIX_ID = 77694
|
||||||
|
|
||||||
GIFT_NOTIF_ID = CARP_ID
|
GIFT_NOTIF_ID = CARP_ID
|
||||||
SIGNUP_FOLLOW_ID = CARP_ID
|
SIGNUP_FOLLOW_ID = CARP_ID
|
||||||
|
@ -856,6 +858,8 @@ elif SITE == 'watchpeopledie.tv':
|
||||||
' capy': AEVANN_ID,
|
' capy': AEVANN_ID,
|
||||||
'carp': CARP_ID,
|
'carp': CARP_ID,
|
||||||
'clit': CARP_ID,
|
'clit': CARP_ID,
|
||||||
|
'g-tix': GTIX_ID,
|
||||||
|
'gtix': GTIX_ID,
|
||||||
}
|
}
|
||||||
|
|
||||||
TIER_TO_NAME = {
|
TIER_TO_NAME = {
|
||||||
|
@ -1150,11 +1154,6 @@ GIRL_NAMES = {
|
||||||
'Z': ['Zoe', 'Zoey', 'Zaria', 'Zoie']
|
'Z': ['Zoe', 'Zoey', 'Zaria', 'Zoie']
|
||||||
}
|
}
|
||||||
|
|
||||||
class OrgyTypes:
|
|
||||||
YOUTUBE = 1
|
|
||||||
RUMBLE = 2
|
|
||||||
TWITCH = 3
|
|
||||||
|
|
||||||
from sqlalchemy.engine.create import create_engine
|
from sqlalchemy.engine.create import create_engine
|
||||||
from sqlalchemy.orm import scoped_session, sessionmaker
|
from sqlalchemy.orm import scoped_session, sessionmaker
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import time
|
import time
|
||||||
|
|
||||||
from sqlalchemy.sql import func
|
from sqlalchemy.sql import func
|
||||||
|
from flask import g
|
||||||
|
|
||||||
from files.helpers.config.const import *
|
from files.helpers.config.const import *
|
||||||
|
|
||||||
|
@ -27,6 +28,7 @@ def apply_time_filter(t, objects, cls):
|
||||||
|
|
||||||
|
|
||||||
def sort_objects(sort, objects, cls):
|
def sort_objects(sort, objects, cls):
|
||||||
|
if not (SITE == 'watchpeopledie.tv' and g.v and g.v.id == GTIX_ID):
|
||||||
objects = objects.order_by(cls.is_banned, cls.deleted_utc)
|
objects = objects.order_by(cls.is_banned, cls.deleted_utc)
|
||||||
|
|
||||||
if sort == 'hot':
|
if sort == 'hot':
|
||||||
|
|
Loading…
Reference in New Issue