@ -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()))
@ -1,3 +1,4 @@
cd /var/www/souptxt/
rm -rf txt
git clone https://git.xpub.nl/kamo/txt.git txt
cd txt