auto-t: iwd.py: use args[0] for station debug interface
Passing *args, **kwargs into StationDebug ended up initializing the class with Station properties since devices can be initialized from existing property dictionaries. Since the object path is all StationDebug needs, pass args[0] instead.
This commit is contained in:
parent
876fe9f210
commit
44faa81a06
|
@ -287,7 +287,7 @@ class Device(IWDDBusAbstract):
|
||||||
|
|
||||||
IWDDBusAbstract.__init__(self, *args, **kwargs)
|
IWDDBusAbstract.__init__(self, *args, **kwargs)
|
||||||
|
|
||||||
self._station_debug = StationDebug(*args, **kwargs)
|
self._station_debug = StationDebug(args[0])
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def _wps_manager(self):
|
def _wps_manager(self):
|
||||||
|
|
Loading…
Reference in New Issue