Line 47 has 2 spaces before mapping which is causing the following error:
File "generator.py", line 263
return mappings
^
IndentationError: unindent does not match any outer indentation level
I removed those 2 spaces on my machine and it works fine now.