I attempted to fix the code myself but my Python skills are lacking and I am attempting to use this as a learning ground
I attempted to fix the code myself but my Python skills are lacking and I am attempting to use this as a learning ground