Skip to content

Commit

Permalink
fix : minor edit in uptime and idletime functions
Browse files Browse the repository at this point in the history
  • Loading branch information
sepandhaghighi committed Dec 25, 2020
1 parent fb23400 commit 797b9dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions orangetool/orangetool_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def uptime(debug=False):
:type debug:bool
:return: system uptime as string
"""
time_control(mode="uptime",debug=debug)
return time_control(mode="uptime",debug=debug)


def idletime(debug=False):
Expand All @@ -95,7 +95,7 @@ def idletime(debug=False):
:type debug:bool
:return: system idle as string
"""
time_control(mode="idle", debug=debug)
return time_control(mode="idle", debug=debug)


def version():
Expand Down

0 comments on commit 797b9dc

Please sign in to comment.