Mary Mary - 1 year ago 102
Python Question

I cannot find my mistake in python

I am trying to write a problem with classes in python. I am a beginner. I cannot realized where the problem is. When I run the code I received this error:

File "D:/Facultate/Python/Bibliotek_Classe/", line 43, in add_client
AttributeError: 'CrudOperationOnClient' object has no attribute 'client_list'

And this is the class where it is supposed to be a mistake. Thank you very much!

this is the code

Answer Source

write def __init__(self): instead of __int__(self):

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download