Make the update notification working
This commit is contained in:
parent
a45cb24251
commit
49f8cb1007
@ -207,7 +207,7 @@ class MumbleBot:
|
|||||||
msg += "Youtube-dl is up-to-date"
|
msg += "Youtube-dl is up-to-date"
|
||||||
else:
|
else:
|
||||||
msg += "Update done : " + tp.split('Successfully installed')[1]
|
msg += "Update done : " + tp.split('Successfully installed')[1]
|
||||||
if 'Unpacking' not in sp.check_output(['/usr/bin/env', 'git', 'fetch']).decode():
|
if 'up-to-date' not in sp.check_output(['/usr/bin/env', 'git', 'pull']).decode():
|
||||||
msg += "<br /> Botamusique is up-to-date"
|
msg += "<br /> Botamusique is up-to-date"
|
||||||
else:
|
else:
|
||||||
msg += "<br /> Botamusique have available update"
|
msg += "<br /> Botamusique have available update"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user