exclude 'deux' too

pull/195/head
Aevann 2023-08-25 06:27:08 +03:00
parent 796caef336
commit c0427f6ecb
1 changed files with 1 additions and 1 deletions

View File

@ -46,6 +46,6 @@ def const_initialize():
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()]
SNAPPY_QUOTES = [x for x in SNAPPY_QUOTES if 'drama' not in x.lower() and 'deux' not in x.lower()]
except FileNotFoundError:
pass