UnboundLocalError: local variable 'timeInSeconds' referenced before assignment

Hello, when i tried to Mark nodes and find paths using veroviz, I got this error