Fix of uptime command

This commit is contained in:
Boris Daniel Martinez Millán 2021-03-09 00:52:34 -05:00
parent b56932fcf0
commit 860ba28049
1 changed files with 1 additions and 1 deletions

View File

@ -4,5 +4,5 @@ from telegram.ext import Updater, CallbackContext
def uptime(update: Update,context: 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""" """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))