Closed alustig3 closed 1 year ago
The functionallity to store end datetimes to file is working fine on my machine - both for tasks stopped using the stop_framework()
function in task code or stopped from the GUI. Are you getting this issue with the standard dev branch code?
Sorry, I'm 95% sure I was on the dev branch, but for the life of me I can't replicate the error this morning haha. Closing the issue.
I get the following error when stopping a task in which the data is being recorded:
I looks like
self.end_datetime
is never given a value because the following code is never reached https://github.com/pyControl/code/blob/7b4b0a890832fec38e90f71f5c38929978e83692/com/data_logger.py#L117-L119