Fixed an error into generate_sitepp.py