|
|
@ -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() |
|
|
|