added start time parameter to CmdWindow

This commit is contained in:
Josh Holtrop committed 2011-01-03 11:05:40 -05:00
1 parent 4d641af494
commit 99d37c6268
2 files changed
+7 -2

No files matched your search

+3 -1
View File
@@ -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