jonni83 / smartgarage

1 stars 1 forks source link

No call to Super.__init__() #10

Closed riverajo closed 10 years ago

riverajo commented 10 years ago

Each class should call it's Super() in it's __init__. While not harmful, it's good form. Also you could then put an __init__ in the component class that then calls the setmode() function instead of each calling them serperatly.

jonni83 commented 10 years ago

i added a call to the super([class], self).__init__(mode)