Pep8 + code reviewed corrected
bug line 309-310, project_code -> None
bug line 301-302, project_code -> None