Added rounding of command output
This commit is contained in:
parent
d6e6c12939
commit
cf4a6f90a5
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ class ScriptBase(TypeClass):
|
||||||
task = self.ndb._task
|
task = self.ndb._task
|
||||||
if task:
|
if task:
|
||||||
try:
|
try:
|
||||||
return int(task.next_call_time())
|
return int(round(task.next_call_time()))
|
||||||
except TypeError:
|
except TypeError:
|
||||||
pass
|
pass
|
||||||
return None
|
return None
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue