Browse Source

now using a real command for pelican

master
mb@mb 7 years ago
parent
commit
cdf060c488
  1. 2
      streambot.py

2
streambot.py

@ -85,7 +85,7 @@ class ArchivistBot(ClientXMPP):
urllib.urlretrieve(msg['oob']['url'], targetFile, context=ctx) urllib.urlretrieve(msg['oob']['url'], targetFile, context=ctx)
logging.getLogger().debug("saved to %s" % targetFile) 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) print(cmd)
os.system(cmd) os.system(cmd)

Loading…
Cancel
Save