|
|
@ -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(): |
|
|
|