Dec-27-2020, 03:39 AM
The error message complains that a mix tabs and spaces are being used to indent code somewhere around line 80. I would look at the buttons dictionary. I used to get this error a lot when editing code in Notepad++ before I configured the editor to use spaces instead of tabs when editing Python code.
I cannot find where tabs are being used. I even copied the file to a file and wrote a Python program to look for tabs and found none. But it may be that the act of posting the code replaced the tabs with spaces.
I cannot find where tabs are being used. I even copied the file to a file and wrote a Python program to look for tabs and found none. But it may be that the act of posting the code replaced the tabs with spaces.