From cdf060c488c026face52cbd52eb52312b8398114 Mon Sep 17 00:00:00 2001 From: "mb@mb" Date: Fri, 9 Mar 2018 19:06:22 +0100 Subject: [PATCH] now using a real command for pelican --- streambot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streambot.py b/streambot.py index 7c34895..1e0d891 100644 --- a/streambot.py +++ b/streambot.py @@ -85,7 +85,7 @@ class ArchivistBot(ClientXMPP): urllib.urlretrieve(msg['oob']['url'], targetFile, context=ctx) logging.getLogger().debug("saved to %s" % targetFile) - cmd = 'pelican /path/to/your/content/ /home/gitea/clones/varia/varia.website/content/' + cmd = 'pelican /home/gitea/clones/varia/varia.website/content/ -o /var/www/stream/' print(cmd) os.system(cmd)