diff --git a/streambot.py b/streambot.py index fb1f857..f46d050 100644 --- a/streambot.py +++ b/streambot.py @@ -85,9 +85,7 @@ class ArchivistBot(ClientXMPP): urllib.urlretrieve(msg['oob']['url'], targetFile, context=ctx) logging.getLogger().debug("saved to %s" % targetFile) - cmd = 'subprocess.call(["make","publish"], cwd="/home/gitea/clones/varia.website/")' - print(cmd) - os.system(cmd) + subprocess.call(["make","publish"], cwd="/home/gitea/clones/varia.website/") # if msg['type'] in ('chat', 'normal'): # msg.reply("Thanks for sending\n%(body)s" % msg).send()