7.4.2 doesnt work, the license becomes invalid. Fortinet pobably added stricter validation of the license. In 7.4.1 the validating of the license seems to be a bit harder but still working. See this issue on github;
[Hidden Content]
The licenses generated by the python script is probably not 100% correct compared to original licenses. Maybe the dev will fix the issues.