Fixed an error into script 'generate_sitepp.py'