So first big project coding ever. I’m trying to make a phone app in kivy for fun. Currently I’m really stuck trying to get a funtion to work the way I want.
I have a funtion where “def climbtype” outputs a valeu that can be read by a if statment. I wanted this if statment to change the “grade” widget to the “Sport_Spinner_widget”. But everytime i try to it gives me
“File “kivyproperties.pyx”, line 964, in kivy.properties.ObservableDict.getattr
AttributeError: ‘super’ object has no attribute ‘getattr‘. Did you mean: ‘setattr‘?”
error. I know it is target code for “def add_sport_grades(self):” that is the issu but i have no idea how to sort it.
Any help would be appreciated. If i need to clarify any please let me know. Thanks in advance
Current bad section of code
I have tried changing the target to the “self.ids.container.add_widget(customewidget)” in “class LogClimb(Screen)” a pathway i know works but to no avail.