Quit function error

It seems that I am getting a logic error when I click on the quit widget using tkinter. It says that the quit method takes 1 positional argument, but 2 were given. It doesn’t look like I gave any to start with. Could someone diagnose this error?
Here is a picture of my code: