(Oct-01-2019, 05:30 PM)stullis Wrote: could be the indenting on lines 43 and 44
Thats how the problem started. I got many notifications about the indenting of these lines and tried different ways and none of them worked. I just ended up having them there as they are now! Thanks for the observation though!
Update:
Well, thanks for bringing that to my attention again. It works like charm now. I re-wrote it like this and it worked:
def getfile(self, filename): with open(filename, 'wb') as configfile: config.write(configfile)Something that I wasn't aware of: I am not sure of the following but it helped correct the indenting issue of the def change_param_1 too, which is the unseen spaces!!! I noticed that I had many spaces between lines, once I deleted these spaces I got no more indenting notifications!