Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Added days to uptime message
Browse files Browse the repository at this point in the history
  • Loading branch information
Retzudo committed Mar 6, 2017
1 parent 6a8559a commit d3975ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion servoskull/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from datetime import datetime

__version__ = 'v1.3.1'
__version__ = 'v1.3.2'

start_time = datetime.now()

Expand Down
2 changes: 1 addition & 1 deletion servoskull/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ async def execute(self) -> str:

now = datetime.now()
uptime_delta = relativedelta(now, servoskull.start_time)
uptime = '{0.hours} hours {0.minutes} minutes {0.seconds} seconds'.format(uptime_delta)
uptime = '{0.days} days, {0.hours} hours, {0.minutes} minutes, {0.seconds} seconds'.format(uptime_delta)
flavour_text = (
"A Servo-skull is a drone-like robotic device that appears to be a human skull outfitted with electronic "
"or cybernetic components that utilise embedded anti-gravity field generators to allow them to hover "
Expand Down

0 comments on commit d3975ed

Please sign in to comment.