|
|
|
@ -47,7 +47,7 @@ def txt_list():
|
|
|
|
|
return writings
|
|
|
|
|
|
|
|
|
|
def render_list():
|
|
|
|
|
subprocess.run(['update.sh'], shell=True)
|
|
|
|
|
subprocess.run(['sh', '/var/www/souptxt/update.sh'], shell=True)
|
|
|
|
|
with open('list.html', 'w+') as f:
|
|
|
|
|
f.write(render_template('home.html', writings=txt_list()))
|
|
|
|
|
|
|
|
|
|