forked from MarseyWorld/MarseyWorld
add SNAPPY_THREAD to WPD
parent
3b3fd3d868
commit
c8781af310
|
@ -809,8 +809,9 @@ elif SITE == 'watchpeopledie.tv':
|
|||
SIDEBAR_THREAD = 5403
|
||||
BANNER_THREAD = 9869
|
||||
BADGE_THREAD = 52519
|
||||
SNAPPY_THREAD = 67186
|
||||
CHANGELOG_THREAD = 56363
|
||||
ADMIGGER_THREADS = {SIDEBAR_THREAD, BANNER_THREAD, BADGE_THREAD, CHANGELOG_THREAD, 22937}
|
||||
ADMIGGER_THREADS = {SIDEBAR_THREAD, BANNER_THREAD, BADGE_THREAD, SNAPPY_THREAD, CHANGELOG_THREAD, 22937}
|
||||
|
||||
MAX_VIDEO_SIZE_MB = 500
|
||||
MAX_VIDEO_SIZE_MB_PATRON = 500
|
||||
|
|
|
@ -40,12 +40,10 @@ def const_initialize():
|
|||
if IS_FISTMAS():
|
||||
filename = f"snappy_fistmas_{SITE_NAME}.txt"
|
||||
else:
|
||||
filename = f"snappy_rDrama.txt"
|
||||
filename = f"snappy_{SITE_NAME}.txt"
|
||||
|
||||
try:
|
||||
with open(filename, "r", encoding="utf-8") as f:
|
||||
SNAPPY_QUOTES = f.read().split("\n{[para]}\n")
|
||||
if SITE_NAME == 'WPD':
|
||||
SNAPPY_QUOTES = [x for x in SNAPPY_QUOTES if 'drama' not in x.lower() and 'deux' not in x.lower()]
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue