Browse Source

adding stylesheet_pad var

master
varia server 3 years ago
parent
commit
17b055c5a3
  1. 3
      web-interface/web-interface.py

3
web-interface/web-interface.py

@ -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…
Cancel
Save