This commit is contained in:
Aevann1 2022-03-17 19:45:09 +02:00
parent 2caafe5168
commit 35f1ecf929
4 changed files with 631 additions and 3 deletions

View file

@ -22,8 +22,8 @@ from sys import stdout
snappyquotes = [f':#{x}:' for x in marseys_const2]
if SITE_NAME == 'Drama':
with open(f'snappy.txt', "r", encoding="utf-8") as f:
if path.exists(f'snappy_{SITE_NAME}.txt'):
with open(f'snappy_{SITE_NAME}.txt', "r", encoding="utf-8") as f:
snappyquotes += f.read().split("\n{[para]}\n")
IMGUR_KEY = environ.get("IMGUR_KEY").strip()