fixed the python script
ignoring log file