From 92590a314779666783d79d200603679e8a33f254 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 24 Sep 2016 21:51:31 +0200 Subject: [PATCH] aaaa --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 6c709b14..927b79d4 100644 --- a/bot.py +++ b/bot.py @@ -489,8 +489,8 @@ def version(): # Visualizza la versione di Royal Bot # Solo per UNIX...? print("@" + username + ": /version") - msg = subprocess.run("git describe") - telegram.sendmessage(msg, sentin, source) + gitmsg = subprocess.check_output("git describe") + telegram.sendmessage(gitmsg, sentin, source) # Ciclo principale del bot