Commit 8f8c3b40 authored by panos's avatar panos

Bug fixed in the script

parent 8850afb0
......@@ -148,6 +148,7 @@ def DataExtraction(DBFilePath):
data['WIP'][code]['sequence']=ind3.step
timeIn=datetime.strptime(str(ind3.TIMEIN), '%Y-%m-%d %H:%M:%S')
data['WIP'][code]['timeIn']=str(timeIn)
if ind3.TIMEOUT:
timeOut=datetime.strptime(str(ind3.TIMEOUT), '%Y-%m-%d %H:%M:%S')
data['WIP'][code]['timeOut']=str(timeOut)
#in case the status is 'finished' continue to the next order
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment