|
@ -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) |
|
|
|
|
|
|
|
|
subprocess.call(["make","publish"], cwd="/home/gitea/clones/varia.website/") |
|
|
subprocess.call(["make","publish"], cwd="/srv/gitea/clones/varia.website/") |
|
|
|
|
|
|
|
|
# if msg['type'] in ('chat', 'normal'): |
|
|
# if msg['type'] in ('chat', 'normal'): |
|
|
# msg.reply("Thanks for sending\n%(body)s" % msg).send() |
|
|
# msg.reply("Thanks for sending\n%(body)s" % msg).send() |
|
|