ldo / dbussy

Python binding for D-Bus using asyncio
91 stars 22 forks source link

unregister specific interface #31

Closed jvaught closed 4 years ago

jvaught commented 4 years ago

When trying to unregister a specific interface from a path the unregister fails.

I think the problem may be here: Line 597: If interface != None then the list is a list of _Interface objects while if interface == None it's a list of interface names (strings).

jvaught commented 4 years ago

proposed fix in #32

ldo commented 4 years ago

Yeah, there is an inconsistency. Also I thought it would be handy to accept an interface instance or an interface class. Fixed in 76fd5c8348dd87466146779373bc1a0f3722490f.

ldo commented 4 years ago

No more problems?