adding stylesheet_pad var

This commit is contained in:
varia server 2021-09-01 16:57:49 +02:00
parent a35e53e290
commit 17b055c5a3

View File

@ -16,6 +16,7 @@ DIR_PATH = '.' # without trailing slash
PORTNUMBER = 5522
WIKI = 'https://possiblebodies.constantvzw.org/book' # remove tail slash '/'
PAGENAME = 'Unfolded'
STYLESHEET_PAD = 'volumetric-regimes.css'
STYLESHEET = 'print.css'
# ---
@ -23,7 +24,7 @@ STYLESHEET = 'print.css'
def download(STYLESHEET):
# using etherpump
os.system(f'{ DIR_PATH }/venv/bin/etherpump gettext { STYLESHEET } > { DIR_PATH }/static/css/{ STYLESHEET }')
os.system(f'{ DIR_PATH }/venv/bin/etherpump gettext { STYLESHEET_PAD } > { DIR_PATH }/static/css/{ STYLESHEET }')
@APP.route('/', methods=['GET'])
def pad():