forked from rDrama/rDrama
hide grinch award in WPD and PCM
parent
23d64fc691
commit
8a40081fb8
|
@ -20,13 +20,15 @@ def _populate_awards():
|
||||||
AWARDS_ENABLED.update(temp)
|
AWARDS_ENABLED.update(temp)
|
||||||
|
|
||||||
for award in EVENT_AWARDS:
|
for award in EVENT_AWARDS:
|
||||||
if award == 'grinch' and SITE_NAME != 'rDrama': continue
|
|
||||||
EVENT_AWARDS[award]['ghost'] = EVENT_AWARDS[award]['cosmetic']
|
EVENT_AWARDS[award]['ghost'] = EVENT_AWARDS[award]['cosmetic']
|
||||||
if award in AWARDS_DISABLED:
|
if award in AWARDS_DISABLED:
|
||||||
AWARDS_DISABLED.remove(award)
|
AWARDS_DISABLED.remove(award)
|
||||||
|
|
||||||
AWARDS.update(EVENT_AWARDS)
|
AWARDS.update(EVENT_AWARDS)
|
||||||
|
|
||||||
|
if SITE_NAME != 'rDrama':
|
||||||
|
del AWARDS_ENABLED['grinch']
|
||||||
|
|
||||||
def event_init():
|
def event_init():
|
||||||
_build_table()
|
_build_table()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue