adding stylesheet_pad var
This commit is contained in:
parent
a35e53e290
commit
17b055c5a3
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user