https://researchdatapod.com/how-to-solve-python-attributeerror-nonetype-object-has-no-attribute-append/
How to Solve Python AttributeError: 'NoneType' object has no attribute 'append'