gjr80 / weewx-gw1000

A WeeWX driver based on the Ecowitt LAN/Wi-Fi Gateway API
GNU General Public License v3.0
62 stars 9 forks source link

Initialisation of `class GatewayDriver` and `class GatewayService` parents still appears wrong #70

Open gjr80 opened 8 months ago

gjr80 commented 8 months ago

Both class GatewayDriver and class GatewayService have dual inheritance so care needs to be take when calling the __init__ for the parent classes. This was thought to have been fixed earlier in v0.6.0, but it appears that one class uses super() and the other uses direct calls to the parent class __init__. Furthermore, at least once call seems use the wrong config dict.