Split SITE_NAME into computer-readable SITE_ID and human-readable SITE_TITLE.
This commit is contained in:
parent
850d175563
commit
800ae8d2dc
59 changed files with 202 additions and 180 deletions
|
@ -22,8 +22,8 @@ from sys import stdout
|
|||
|
||||
snappyquotes = [f':#{x}:' for x in marseys_const2]
|
||||
|
||||
if path.exists(f'snappy_{SITE_NAME}.txt'):
|
||||
with open(f'snappy_{SITE_NAME}.txt', "r", encoding="utf-8") as f:
|
||||
if path.exists(f'snappy_{SITE_ID}.txt'):
|
||||
with open(f'snappy_{SITE_ID}.txt', "r", encoding="utf-8") as f:
|
||||
snappyquotes += f.read().split("\n{[para]}\n")
|
||||
|
||||
discounts = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue