PEP standards

The hell did you do with the indentation. I don't even
Also fixed defaultFolder not being global