added start time parameter to CmdWindow
This commit is contained in:
1 parent
4d641af494
commit
99d37c6268
2 files changed
+7
-2
No files matched your search
@@ -39,10 +39,12 @@ def main(argv):
|
||||
|
||||
while True:
|
||||
status = ''
|
||||
starttime = None
|
||||
ct = ds.getCurrentTask()
|
||||
if ct is not None:
|
||||
status = 'Current Task: ' + ds.getTaskByID(ct.taskid).name
|
||||
cw = CmdWindow(status)
|
||||
starttime = ct.time
|
||||
cw = CmdWindow(status, starttime)
|
||||
cmdline = cw.main()
|
||||
if cmdline.strip() == '':
|
||||
break
|
||||
|
||||
Reference in new issue
Block a user