bridge (dbus): fixed typo in log.warning

This commit is contained in:
Goffi 2020-04-01 15:32:18 +02:00
commit e2d9c7db4a

View file

@ -127,7 +127,7 @@ class Bridge:
pass
# at this point, kwargs should be empty
if kwargs:
log.warnings("unexpected keyword arguments, they will be ignored: {}".format(kwargs))
log.warning("unexpected keyword arguments, they will be ignored: {}".format(kwargs))
elif len(args) >= 2 and callable(args[-1]) and callable(args[-2]):
async_ = True
_errback = args.pop()