Skip to content

Commit

Permalink
Update __main__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
breakdowns authored Apr 23, 2021
1 parent 4c3ff77 commit eb15e7c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bot/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
from bot import app
from os import execl, kill, path, remove
from sys import executable
from datetime import datetime
import pytz
import time
from telegram import ParseMode
from telegram.ext import CommandHandler, run_async
Expand All @@ -21,7 +23,7 @@
@run_async
def stats(update, context):
currentTime = get_readable_time((time.time() - botStartTime))
current = now.strftime('%Y/%m/%d %I:%M:%S')
current = now.strftime('%Y/%m/%d %I:%M:%S %p')
total, used, free = shutil.disk_usage('.')
total = get_readable_file_size(total)
used = get_readable_file_size(used)
Expand Down

0 comments on commit eb15e7c

Please sign in to comment.