Fix of uptime command
This commit is contained in:
parent
b56932fcf0
commit
860ba28049
|
@ -4,5 +4,5 @@ from telegram.ext import Updater, CallbackContext
|
|||
|
||||
def uptime(update: Update,context: CallbackContext):
|
||||
"""Uptime es un modulo solo compatible con linux que permite ver el tiempo desde que se encendio la pc"""
|
||||
update.message.reply_text(subprocess_output('uptime',shell=True))
|
||||
update.message.reply_text(subprocess.check_output('uptime',shell=True,universal_newlines=True))
|
||||
|
||||
|
|
Loading…
Reference in New Issue