removed duplicate datetime line

copy/paste error
This commit is contained in:
gqgunhed 2015-12-22 12:25:49 +01:00
parent ed8ee91dcf
commit b67c3b45e1

View file

@ -222,9 +222,6 @@ def uptime(human_readable=False):
# Subtract startup time from current time to get the uptime of the system
uptime = datetime.datetime.now() - startup_time
# Subtract startup time from current time to get the uptime of the system
uptime = datetime.now() - startup_time
return str(uptime) if human_readable else uptime.total_seconds()