1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-24 03:54:20 +00:00
This commit is contained in:
Steffo 2016-09-24 21:53:22 +02:00
parent 92590a3147
commit 6de3b67380

2
bot.py
View file

@ -489,7 +489,7 @@ def version():
# Visualizza la versione di Royal Bot # Visualizza la versione di Royal Bot
# Solo per UNIX...? # Solo per UNIX...?
print("@" + username + ": /version") print("@" + username + ": /version")
gitmsg = subprocess.check_output("git describe") gitmsg = subprocess.check_output(["git", "describe"])
telegram.sendmessage(gitmsg, sentin, source) telegram.sendmessage(gitmsg, sentin, source)